System registration failed with "up2date A socket error occurred: Unable to connect to the host and port specified, attempt #1"

Solution In Progress - Updated -

Issue

  • Unable to register to RHN
Thu May 30 02:38:42 2013] up2date A socket error occurred: Unable to connect to the host and port specified, attempt #1
[Wed Jun 12 02:29:32 2013] up2date A socket error occurred: Unable to connect to the host and port specified, attempt #1
[Wed Jun 12 02:30:43 2013] up2date A socket error occurred: Unable to connect to the host and port specified, attempt #1
[Wed Jun 12 02:34:18 2013] up2date A socket error occurred: Unable to connect to the host and port specified, attempt #1
[Wed Jun 12 12:29:58 2013] up2date A socket error occurred: Unable to connect to the host and port specified, attempt #1

2013-06-12 02:30:43,010 - DEBUG - rhn - ['/usr/sbin/rhnreg_ks', '--username', 'example.system', '--password', 'XXXXXXX', '--novirtinfo
', '--norhnsd', '--nopackages', '--force']
2013-06-12 02:30:43,493 - DEBUG - rhn - An error has occurred:
Error communicating with server. The message was:
Unable to connect to the host and port specified
Error in sys.excepthook:
Traceback (most recent call last):
  File "/usr/share/rhn/up2date_client/rhncli.py", line 222, in exceptionHandler
  File "/usr/share/rhn/up2date_client/up2dateLog.py", line 53, in log_exception
  File "/usr/share/rhn/up2date_client/up2dateErrors.py", line 43, in __unicode__
NameError: global name 'to_unicode' is not defined

Original exception was:
Traceback (most recent call last):
  File "/usr/sbin/rhnreg_ks", line 219, in <module>
    cli.run()
  File "/usr/share/rhn/up2date_client/rhncli.py", line 84, in run
  File "/usr/sbin/rhnreg_ks", line 89, in main
    rhnreg.getCaps()
  File "/usr/share/rhn/up2date_client/rhnreg.py", line 249, in getCaps
  File "/usr/share/rhn/up2date_client/rhnserver.py", line 160, in __get_capabilities
  File "/usr/share/rhn/up2date_client/rhnserver.py", line 51, in __call__
  File "/usr/share/rhn/up2date_client/rpcServer.py", line 217, in doCall
up2date_client.up2dateErrors.CommunicationError: Error communicating with server. The message was:
Unable to connect to the host and port specified

2013-06-12 02:30:43,496 - ERROR - rhn - Error registering to RHN account!

Environment

  • Red Hat Enterprise Linux all versions

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.