Re: [Spacewalk-list] Registering clients

2015-05-04 Thread Boyd, Robert
At the command line try:

  Nslookukp spacewalk.perfect.com

And
  Ping spacewalk.perfect.com

And/or see if you have any entry in /etc/hosts for spacewalk.perfect.com.

Robert Boyd
Sr. Systems Engineer
PeopleFluent
p. 919-645-2972 | c. 919-306-4681
e. robert.b...@peoplefluent.com

[http://mktg.peoplefluent.com/rs/peopleclick/images/140410_PF4colorLOGOx150.png]
Click here to experience the power of the new 
PeopleFluent Mirror Suite (tm)
Visit: www.peoplefluent.com | Read: PeopleFluent 
Blog | Follow: 
@PeopleFluent

From: spacewalk-list-boun...@redhat.com 
[mailto:spacewalk-list-boun...@redhat.com] On Behalf Of Irwin, Jeffrey R
Sent: Monday, May 04, 2015 3:15 PM
To: spacewalk-list@redhat.com
Subject: [Spacewalk-list] Registering clients

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@phfdtestclient2 ~]# tail -100 /var/log/up2date
socket.AF_UNSPEC, socket.SOCK_STREAM)
: 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 
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)
___
Spacewalk-list mailing list
Spacewalk-list@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-list

Re: [Spacewalk-list] Registering clients

2015-05-04 Thread Avi Miller
Hi,

> On 5 May 2015, at 5:15 am, Irwin, Jeffrey R  wrote:
> 
> : Error 
> communicating with server. The message was:
> Name or service not known

Looks like you have DNS resolution issues. Can your clients properly resolve 
spacewalk.perfect.com?

--
Oracle 
Avi Miller | Product Management Director | +61 (3) 8616 3496
Oracle Linux and Virtualization
417 St Kilda Road, Melbourne, Victoria 3004 Australia


___
Spacewalk-list mailing list
Spacewalk-list@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-list


[Spacewalk-list] Registering clients

2015-05-04 Thread Irwin, Jeffrey R
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@phfdtestclient2 ~]# tail -100 /var/log/up2date
socket.AF_UNSPEC, socket.SOCK_STREAM)
: 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 
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)
___
Spacewalk-list mailing list
Spacewalk-list@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-list