satellite server upgrade fails with errors

Solution Unverified - Updated -

Issue

  • Satellite server upgrade fails with errors:
[root@host mnt]#  rhn-satellite-activate \
> --rhn-cert /satbackup/satellite5.5.cert \
> --ignore-version-mismatch
RHN_PARENT: satellite.rhn.redhat.com

ERROR: unhandled exception occurred:
Traceback (most recent call last):
  File "/usr/bin/rhn-satellite-activate", line 42, in ?
    sys.exit(abs(mod.main() or 0))
  File "/usr/lib/python2.4/site-packages/spacewalk/satellite_tools/rhn_satellite_activate.py", line 596, in main
    activateSatellite_remote(options)
  File "/usr/lib/python2.4/site-packages/spacewalk/satellite_tools/rhn_satellite_activate.py", line 290, in activateSatellite_remote
    ret = s.satellite.deactivate_satellite(systemid, rhn_cert)
  File "/usr/lib/python2.4/site-packages/rhn/rpclib.py", line 649, in __call__
    return self._send(self._name, args)
  File "/usr/lib/python2.4/site-packages/rhn/rpclib.py", line 383, in _request
    self._handler, request, verbose=self._verbose)
  File "/usr/lib/python2.4/site-packages/rhn/transports.py", line 171, in request
    headers, fd = req.send_http(host, handler)
  File "/usr/lib/python2.4/site-packages/rhn/transports.py", line 702, in send_http
    self._connection.connect()
  File "/usr/lib/python2.4/site-packages/rhn/connections.py", line 215, 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

  • RHN Satellite

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content