[Spacewalk-list] Registering clients

Irwin, Jeffrey R jeff.irwin at perfect.com
Mon May 4 19:15:14 UTC 2015


I initially registered clients, and they showed up in the GUI.  Shortly thereafter they went to inactive.  I attempted to reregister one of the machines and got the following:

Any help as to registering clients would be appreciated.  Last step in my endeavor.

rhnreg_ks --serverUrl=https://spacewalk.perfect.com/XMLRPC --sslCACert=/usr/share/rhn/RHN-ORG-TRUSTED-SSL-CERT --activationkey=1-oraclelinux --force
An error has occurred:
Error communicating with server. The message was:
Name or service not known
See /var/log/up2date for more information
[root at phfdtestclient2 ~]# tail -100 /var/log/up2date
    socket.AF_UNSPEC, socket.SOCK_STREAM)
<class 'up2date_client.up2dateErrors.CommunicationError'>: Error communicating with server. The message was:
Name or service not known

[Mon May  4 15:07:50 2015] up2date A socket error occurred: [Errno -2] Name or service not known, attempt #1
[Mon May  4 15:07:50 2015] up2date
Traceback (most recent call last):
  File "/usr/sbin/rhnreg_ks", line 218, in <module>
    cli.run()
  File "/usr/share/rhn/up2date_client/rhncli.py", line 96, 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 248, in getCaps
    s.capabilities.validate()
  File "/usr/share/rhn/up2date_client/rhnserver.py", line 178, in __get_capabilities
    self.registration.welcome_message()
  File "/usr/share/rhn/up2date_client/rhnserver.py", line 63, in __call__
    return rpcServer.doCall(method, *args, **kwargs)
  File "/usr/share/rhn/up2date_client/rpcServer.py", line 203, in doCall
    ret = method(*args, **kwargs)
  File "/usr/lib64/python2.6/xmlrpclib.py", line 1199, in __call__
    return self.__send(self.__name, args)
  File "/usr/share/rhn/up2date_client/rpcServer.py", line 37, in _request1
    ret = self._request(methodname, params)
  File "/usr/lib/python2.6/site-packages/rhn/rpclib.py", line 384, in _request
    self._handler, request, verbose=self._verbose)
  File "/usr/lib/python2.6/site-packages/rhn/transports.py", line 170, in request
    headers, fd = req.send_http(host, handler)
  File "/usr/lib/python2.6/site-packages/rhn/transports.py", line 720, in send_http
    self._connection.connect()
  File "/usr/lib/python2.6/site-packages/rhn/connections.py", line 165, in connect
    socket.AF_UNSPEC, socket.SOCK_STREAM)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20150504/dae99773/attachment.htm>


More information about the Spacewalk-list mailing list