[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [Spacewalk-list] Cannot register clients in spacewalk



[root localhost ~]# rhnreg_ks --serverUrl=https://xx.xx.xx.xx/XMLRPC --username=username --password=password --activationkey=rhel-channel-key --force
An error has occurred:
Connection refused
See /var/log/up2date for more information


[root localhost ~]# cat /var/log/up2date
[Mon May  4 10:53:21 2009] up2date A socket error occurred: (111, 'Connection refused'), attempt #1
[Mon May  4 10:53:26 2009] up2date A socket error occurred: (111, 'Connection refused'), attempt #2
[Mon May  4 10:53:31 2009] up2date A socket error occurred: (111, 'Connection refused'), attempt #3
[Mon May  4 10:53:36 2009] up2date A socket error occurred: (111, 'Connection refused'), attempt #4
[Mon May  4 10:53:41 2009] up2date A socket error occurred: (111, 'Connection refused'), attempt #5
[Mon May  4 10:53:41 2009] up2date Error communicating with server. The message was:
Connection refused
[Mon May 4 10:53:41 2009] up2date Traceback (most recent call last):
  File "/usr/sbin/rhnreg_ks", line 266, in ?
    cli.run()
  File "/usr/share/rhn/up2date_client/rhncli.py", line 65, in run
    sys.exit(self.main() or 0)
  File "/usr/sbin/rhnreg_ks", line 90, in main
    rhnreg.getCaps()
  File "/usr/share/rhn/up2date_client/rhnreg.py", line 329, in getCaps
    s.capabilities.validate()
  File "/usr/share/rhn/up2date_client/rhnserver.py", line 156, in __get_capabilities
    self.registration.welcome_message()
  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

Are you sure that the client can reach the server it's attempting to communicate with, either strictly as a network configuration or due to a firewall on the server? I know it sounds basic, but sometimes the simplest issues are overlooked. :)

--
Jason Dobies
RHN Satellite / Spacewalk
RHCE# 805008743336126
Freenode: jdob @ #spacewalk #spacewalk-devel


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]