Executing 'rhncfg-client get' on a system results in a traceback and '500 Internal Server Error'

Solution Verified - Updated -

Issue

  • Executing rhncfg-client get on a system results in a traceback and 500 Internal Server Error
  • Executing rhncfg-client get on a system results in:
XML-RPC call error: <ProtocolError for fqdn.of.satellite.host.org /CONFIG-MANAGEMENT: 500 Internal Server Error>
  • Executing rhncfg-client channels on a system results in:
Traceback (most recent call last):
  File "/usr/bin/rhncfg-client", line 34, in <module>
    sys.exit(Main().main() or 0)
  File "/usr/share/rhn/config_common/rhn_main.py", line 187, in main
    handler.run()
  File "/usr/share/rhn/config_client/rhncfgcli_channels.py", line 27, in run
    config_channels = r.load_config_channels()
  File "/usr/share/rhn/config_client/rpc_cli_repository.py", line 63, in load_config_channels
    'config.client.list_config_channels', self.system_id)
  File "/usr/share/rhn/config_client/rpc_cli_repository.py", line 51, in rpc_call
    (self, method_name) + params)
  File "/usr/share/rhn/config_common/repository.py", line 371, in rpc_call
    result = apply(method, params)
  File "/usr/lib64/python2.6/xmlrpclib.py", line 1199, in __call__
    return self.__send(self.__name, args)
  File "/usr/share/rhn/config_common/rpc_wrapper.py", line 226, in _request
    return self._call_function(rpclib.Server._request, (self, methodname, params))
  File "/usr/share/rhn/config_common/rpc_wrapper.py", line 174, in _call_function
    raise e #Don't raise the NoMoreServers error, raise the error that triggered the failover.
xmlrpclib.Fault: <Fault -1003: '\nError Class Code: 1003\nError Class Info: RHN Proxy session token is invalid.\nExplanation: \n     An error has occurred while processing your request. If this problem\n     persists please enter a bug report at <a class="make_room_for_kcs" href="http://bugzilla.redhat.com" target="_blank">bugzilla.redhat.com</a>.\n     If you choose to submit the bug report, please be sure to include\n     details of what you were trying to do when this error occurred and\n     details on how to reproduce this problem.\n'>
  • Executing rhncfg-client list on a system results in:
Traceback (most recent call last):
  File "/usr/bin/rhncfg-client", line 34, in <module>
    sys.exit(Main().main() or 0)
  File "/usr/share/rhn/config_common/rhn_main.py", line 170, in main
    repo = getattr(repo_module, self.repository_class_name)()
  File "/usr/share/rhn/config_client/rpc_cli_repository.py", line 32, in __init__
    repository.RPC_Repository.__init__(self, setup_network)
  File "/usr/share/rhn/config_common/repository.py", line 300, in __init__
    x_server.registration.welcome_message()
  File "/usr/lib64/python2.6/xmlrpclib.py", line 1199, in __call__
    return self.__send(self.__name, args)
  File "/usr/share/rhn/config_common/rpc_wrapper.py", line 226, in _request
    return self._call_function(rpclib.Server._request, (self, methodname, params))
  File "/usr/share/rhn/config_common/rpc_wrapper.py", line 167, in _call_function
    ret = apply(function, arglist, kwargs)
  File "/usr/lib/python2.6/site-packages/rhn/rpclib.py", line 387, in _request
    raise pe
xmlrpclib.ProtocolError: <ProtocolError for fqdn.of.satellite.host.org /XMLRPC: 500 Internal Server Error>

Environment

  • Red Hat Enterprise Linux (RHEL)
  • Red Hat Network Satellite 5.4.1

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In