Satellite throws an error "Connection Timed Out" when trying to register a new system

Solution Verified - Updated -

Issue

  • Satellite timed out when trying to register a new system

    ==> /var/log/httpd/error_log <==
    [Tue Dec 19 12:12:04 2017] [error] Exception reported from satellite.example.com
    [Tue Dec 19 12:12:04 2017] [error] Time: Tue Dec 19 12:12:04 2017
    [Tue Dec 19 12:12:04 2017] [error] Exception type <class 'spacewalk.common.rhnException.rhnException'>
    [Tue Dec 19 12:12:04 2017] [error] Exception while handling function registration.new_system
    [Tue Dec 19 12:12:04 2017] [error] Request object information:
    [Tue Dec 19 12:12:04 2017] [error] URI: /XMLRPC
    
  • Error reported from client

    rhn-plugin: Error communicating with server. The message was: Connection timed out on readline
    
  • Database reports deadlock issues on Oracle

    [Tue Dec 19 12:12:04 2017] [error] Spacewalk 19921 2017/12/19 12:12:04 -04:00: ('Unhandled exception', 
    [Tue Dec 19 12:12:04 2017] [error] Internal code error. Information available:
    [Tue Dec 19 12:12:04 2017] [error]   (60, 'ORA-00060: deadlock detected while waiting for resource\\nORA-06512: at "RHNSAT.LOCK_COUNTS", line 16\
    \nORA-06512: at "RHNSAT.RHN_CHANNEL", line 39\\nORA-06512: at line 1\\n')
    [Tue Dec 19 12:12:04 2017] [error] )
    
  • Registration via Satellite Proxy

    [Tue Dec 19 02:02:34 2017] [error] [client 192.168.0.1] mod_wsgi (pid=2557): Exception occurred processing WSGI script '/usr/share/rhn/wsgi/xmlrpc.py'.
    [Tue Dec 19 02:02:34 2017] [error] [client 192.168.0.1] ValueError: embedded newline in response header with name 'SERVER_SIGNATURE' and value'(address)Apache/2.2.15 (Red Hat) Server at satelliteproxy.example.com Port 80</address>
    [Tue Dec 19 02:02:34 2017] [error] [client 192.168.0.1] '
    [Tue Dec 19 02:02:34 2017] [error] Spacewalk 2554 2017/12/19 02:02:34 -00:00: ('Error opening connection', 'http://satelliteproxy.example.com/XMLRPC/GET-REQ/custom-channel/repodata/repomd.xml', error(111, 'Connection refused'))
    [Tue Dec 19 02:02:34 2017] [error] Exception reported from satelliteproxy.example.com
    [Tue Dec 19 02:02:34 2017] [error] Time: Tue Dec 19 02:02:34 2017
    [Tue Dec 19 02:02:34 2017] [error] Exception type <class 'socket.error'>
    [Tue Dec 19 02:02:34 2017] [error] 
    [Tue Dec 19 02:02:34 2017] [error] Exception Handler Information
    [Tue Dec 19 02:02:34 2017] [error] Traceback (most recent call last):
    [Tue Dec 19 02:02:34 2017] [error]   File "/usr/share/rhn/proxy/rhnShared.py", line 128, in _connectToParent
    [Tue Dec 19 02:02:34 2017] [error]     self.responseContext.getConnection().connect()
    [Tue Dec 19 02:02:34 2017] [error]   File "/usr/lib/python2.6/site-packages/rhn/connections.py", line 166, in connect
    [Tue Dec 19 02:02:34 2017] [error]     HTTPConnection.connect(self)
    [Tue Dec 19 02:02:34 2017] [error]   File "/usr/lib/python2.6/site-packages/rhn/connections.py", line 144, in connect
    [Tue Dec 19 02:02:34 2017] [error]     httplib.HTTPConnection.connect(self)
    [Tue Dec 19 02:02:34 2017] [error]   File "/usr/lib64/python2.6/httplib.py", line 771, in connect
    [Tue Dec 19 02:02:34 2017] [error]     self.timeout)
    [Tue Dec 19 02:02:34 2017] [error]   File "/usr/lib64/python2.6/socket.py", line 567, in create_connection
    [Tue Dec 19 02:02:34 2017] [error]     raise error, msg
    [Tue Dec 19 02:02:34 2017] [error] error: [Errno 111] Connection refused
    

Environment

  • Red Hat Satellite 5.7 - satellite-schema-5.7.0.37
  • Red Hat Satellite 5.8 - satellite-schema-5.8.0.38
  • Red Hat Satellite Proxy 5.7
  • Red Hat Satellite Proxy 5.8

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