![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Red Hat Red Hat is the world's leading open source technology solutions provider with offerings including Red Hat Enterprise Linux (RHEL), Fedora, open source applications, security and systems management, virtualization, and Services Oriented Architecture (SOA) solutions. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| iWork.com: "An error occurred when uploading your document" dialog is displayed | iBot | OS X Support RSS | 0 | 06-10-2009 02:00 PM |
| Error message : socket failed... | mbah_jiman | SUN Solaris | 2 | 05-25-2009 10:55 PM |
| "An error occurred while trying to add the selected printer" when adding a printer | iBot | OS X Support RSS | 0 | 05-13-2009 03:00 AM |
| Socket Error for LAMP on Fedora 7 | umja345 | Linux | 8 | 08-04-2008 02:08 AM |
| read/write socket error | gio | High Level Programming | 2 | 04-16-2007 11:52 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
rhn_register A socket error occurred
All,
I'm getting the following error while I try to register the server to connect the redhat network for the updates. [Thu Sep 24 13:30:14 2009] rhn_register updateLoginInfo() login info [Thu Sep 24 13:34:54 2009] rhn_register A socket error occurred: (111, 'Connection refused'), attempt #1 [Thu Sep 24 13:34:59 2009] rhn_register A socket error occurred: (111, 'Connection refused'), attempt #2 [Thu Sep 24 13:35:04 2009] rhn_register A socket error occurred: (111, 'Connection refused'), attempt #3 [Thu Sep 24 13:35:09 2009] rhn_register A socket error occurred: (111, 'Connection refused'), attempt #4 [Thu Sep 24 13:35:14 2009] rhn_register A socket error occurred: (111, 'Connection refused'), attempt #5 [Thu Sep 24 13:35:14 2009] rhn_register A socket error occurred: (111, 'Connection refused'), attempt #1 [Thu Sep 24 13:35:19 2009] rhn_register A socket error occurred: (111, 'Connection refused'), attempt #2 [Thu Sep 24 13:35:24 2009] rhn_register A socket error occurred: (111, 'Connection refused'), attempt #3 [Thu Sep 24 13:35:29 2009] rhn_register A socket error occurred: (111, 'Connection refused'), attempt #4 [Thu Sep 24 13:35:34 2009] rhn_register A socket error occurred: (111, 'Connection refused'), attempt #5 [Thu Sep 24 13:35:34 2009] rhn_register Error communicating with server. The message was: Connection refused [Thu Sep 24 13:35:34 2009] rhn_register Traceback (most recent call last): File "/usr/share/rhn/up2date_client/rhnregGui.py", line 331, in _chooseServerPageApply rhnreg.privacyText() File "/usr/share/rhn/up2date_client/rhnreg.py", line 319, in privacyText return s.registration.privacy_statement() File "/usr/share/rhn/up2date_client/rhnserver.py", line 50, in __call__ return rpcServer.doCall(method, *args, **kwargs) File "/usr/share/rhn/up2date_client/rpcServer.py", line 204, in doCall raise up2dateErrors.CommunicationError(e.args[1]) up2date_client.up2dateErrors.CommunicationError: Error communicating with server. The message was: Connection refused I check the ports and they are open. Any ideas. I'm using RHEL 5.3 Thanks |
|
|||||
|
First if all, modern versions of rhn_register have a much more limited set of command line configuration options than older versions. Specifically there is no --configure option.
In /etc/sysconfig/rhn/up2date check that the serverURL is set to https://xmlrpc.rhn.redhat.com/XMLRPC. Next check that you have a valid SSL certificate (RHNS_CA_CERT) in /usr/share/rhn. If the SSL certificate has expired, or your subscription has expired, you will get connection refused. You can download the latest SSL certificate from https://rhn.redhat.com/help/RHNS-CA-CERT. More information about how to do this is at https://rhn.redhat.com/help/ssl_cert.pxt |
|
||||
|
Thanks for the info.
I have server URL in /etc/sysconfig/rhn/up2date file. I compared the downloaded cert and cert existed on the server and both looks same with validity dates and that tells me that my cert is valid. i dont think my subscription is expired as I registered about 10 systems after and all are working fine. Thanks. |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|