Installation guide
ERROR: unhandled exception occurred:
Traceback (most recent call last):
File "/usr/bin/rhn-satellite-activate", line 45, in ?
sys.exit(abs(mod.main() or 0))
File "/usr/share/rhn/satellite_tools/rhn_satellite_activate.py", line 585,
in main
activateSatellite_rem ote(options)
File "/usr/share/rhn/satellite_tools/rhn_satellite_activate.py", line 291,
in activateSatellite_remote
ret = s.satellite.deactivate_satellite(system id, rhn_cert)
File "/usr/lib/python2.4/site-packages/rhn/rpclib.py", line 603, in
__call__
return self._send(self._name, args)
File "/usr/lib/python2.4/site-packages/rhn/rpclib.py", line 326, 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 698, in
send_http
self._connection.connect()
File "/usr/lib/python2.4/site-packages/rhn/connections.py", line 193, in
connect
sock.connect((self.host, self.port))
File "<string>", line 1, in connect
socket.timeout: timed out
To resolve the issue:
1. Run the install script in disconnected mode, and skip the database installation which has
already been done:
# ./install.pl --disconnected --skip-db-install
2. Open /etc/rhn/rhn.conf with your preferred text editor, and add or modify the following
line:
server.satellite.rhn_parent = satellite.rhn.redhat.com
Remove the following line:
disconnected=1
If you are using a proxy for the connection to Red Hat Network, you will also need to add or
modify the following lines to reflect the proxy settings.
server.satellite.http_proxy = <hostname>:<port>
server.satellite.http_proxy_usernam e = <username>
server.satellite.http_proxy_password = <password>
3. Re-activate the Satellite in connected mode, using the rhn-satellite-activate
command as the root user, including the path and filename of the satellite certificate:
# rhn-satellite-activate --rhn-cert=/path/to/file.cert
Alternatively, try running the install.pl script in connected mode, but with the --answer-
Red Hat Satellite 5.6 Reference Guide
72