[Spacewalk-list] register client via spacewalk proxy

Jan Pazdziora jpazdziora at redhat.com
Fri May 7 14:05:33 UTC 2010


On Fri, May 07, 2010 at 07:40:39PM +0800, irfan irfan wrote:
> this is my error
> 
> [Fri May  7 15:47:05 2010] up2date A socket error occurred: [Errno -2] Name or service not known, attempt #1
> [Fri May  7 15:47:05 2010] up2date Error communicating with server. The message was:
> Name or service not known
> [Fri May  7 15:47:05 2010] up2date
> Traceback (most recent call last):
>   File "/usr/sbin/rhnreg_ks", line 205, in <module>
>     cli.run()
>   File "/usr/share/rhn/up2date_client/rhncli.py", line 74, in run
>     sys.exit(self.main() or 0)
>   File "/usr/sbin/rhnreg_ks", line 88, in main
>     rhnreg.getCaps()
>   File "/usr/share/rhn/up2date_client/rhnreg.py", line 234, 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 214, in doCall
>     raise up2dateErrors.CommunicationError(e.args[1])
> up2date_client.up2dateErrors.CommunicationError: Error communicating with server. The message was:
> Name or service not known

You need to make sure that youre are able to resolve the machine name
(proxy's name, in this case) from your client. If the client is not
able to resolve the proxy hostname, the use of ...

> Ok, next i`ll not use --force again, thank,...

... is not relevant.

-- 
Jan Pazdziora
Principal Software Engineer, Satellite Engineering, Red Hat




More information about the Spacewalk-list mailing list