rhncfg-client diff - socket.error: Unable to connect to the host and port specified

Solution Unverified - Updated -

Issue

  • Issue with processing the command: rhncfg-client diff
  • This occurs in the morning at 07:00 hours.
  • This is the moment that all the servers do the same check.
  • They check if they have the same configuration as specified in the Satellite.
  • On the client node we get the error message below:
Traceback (most recent call last):
  File "/usr/bin/rhncfg-client", line 38, in ?
    sys.exit(Main().main() or 0)
  File "/usr/share/rhn/config_common/rhn_main.py", line 190, 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 296, in __init__
    x_server.registration.welcome_message()
  File "/usr/lib64/python2.4/xmlrpclib.py", line 1096, in __call__
    return self.__send(self.__name, args)
  File "/usr/share/rhn/config_common/rpc_wrapper.py", line 182, in _request
    return self._call_function(rpclib.Server._request, (self, methodname, params))
  File "/usr/share/rhn/config_common/rpc_wrapper.py", line 161, in _call_function
    ret = apply(function, arglist, kwargs)
  File "/usr/lib/python2.4/site-packages/rhn/rpclib.py", line 386, in _request
    self._handler, request, verbose=self._verbose)
  File "/usr/lib/python2.4/site-packages/rhn/transports.py", line 175, in request
    headers, fd = req.send_http(host, handler)
  File "/usr/lib/python2.4/site-packages/rhn/transports.py", line 725, in send_http
    self._connection.connect()
  File "/usr/lib/python2.4/site-packages/rhn/connections.py", line 221, in connect
    raise socket.error("Unable to connect to the host and port specified")
socket.error: Unable to connect to the host and port specified

Environment

  • Red Hat Enterprise Linux 6
  • Satellite 5.5
  • rhncfg-client

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
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.