[Spacewalk-list] register client via spacewalk proxy

irfan irfan irfan_area47 at yahoo.co.id
Fri May 7 11:40:39 UTC 2010


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


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




________________________________
From: Miroslav Suchý <msuchy at redhat.com>
To: irfan irfan <irfan_area47 at yahoo.co.id>
Cc: spacewalk-list at redhat.com
Sent: Fri, May 7, 2010 4:56:49 PM
Subject: Re: [Spacewalk-list] register client via spacewalk proxy

On 05/07/2010 10:56 AM, irfan irfan wrote:
> i get error when register client with /usr/sbin/rhnreg_ks --force
> --serverUrl=https://proxy-spacewalk/XMLRPC
> --activationkey=1-fedora_12_1386. whether this has something to do with
> the client behind the firewall ?
> Thanks before

Can you send here which error you get?

If this system have been registred previously to Spacewalk server, you do not need to register it again. You can just edit url in /etc/sysconfig/rhn/up2date.

If it was not previously registered, why you used --force?


-- Miroslav Suchy
Red Hat Satellite Engineering



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20100507/3e0351f6/attachment.htm>


More information about the Spacewalk-list mailing list