[Spacewalk-list] Registering RHEL5 based system to Spacewalk

Finnur Örn Guðmundsson - TM Software fog at t.is
Sun Jun 22 21:46:48 UTC 2008


Hi,

After installing and configuring a Spacewalk server i had some issues with register a client to the Spacewalk server.

I used the client utilities from the RHEL5-Server channel from RHN. However i was unable to register the system until i installed the rhel-instnum package to the Spacewalk system. (Credit goes to robs_ @ FreeNode for the help!).

Errors from the Spacewalk server before installing rhel-instnum:

2008/06/22 16:05:50 -00:00 4105 217.X.X.19: rhnSQL/int_oracle.connect('Connecting to database', 'xe')
2008/06/22 16:07:46 -00:00 4107 217.X.X.19: server/rhnImport.load('ERROR', 'Error importing xmlrpc: No module named instnum')
2008/06/22 16:07:46 -00:00 4107 217.X.X.19: rhnSQL/int_oracle.connect('Connecting to database', 'xe')
2008/06/22 16:08:02 -00:00 4108 217.X.X.19: server/rhnImport.load('ERROR', 'Error importing xmlrpc: No module named instnum')

Errors from the client system (/var/log/up2date):
[Sun Jun 22 21:32:24 2008] up2date Error communicating with server. The message was:
While running 'registration.welcome_message': caught
exceptions.KeyError : 'xmlrpc'

[Sun Jun 22 21:32:24 2008] up2date 
Traceback (most recent call last):
  File "/usr/sbin/rhnreg_ks", line 267, 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 88, in main
    rhnreg.getCaps()
  File "/usr/share/rhn/up2date_client/rhnreg.py", line 324, in getCaps
    s.capabilities.validate()
  File "/usr/share/rhn/up2date_client/rhnserver.py", line 154, in __get_capabilities
    self.registration.welcome_message()
  File "/usr/share/rhn/up2date_client/rhnserver.py", line 52, in __call__
    raise self.__exception_from_fault(f)
up2date_client.up2dateErrors.CommunicationError: Error communicating with server. The message was:
While running 'registration.welcome_message': caught
exceptions.KeyError : 'xmlrpc'

Hope this helps.

Kær kveðja / Best regards,
Finnur Ö. Guðmundsson
MCP - RHCA - Linux+
System Engineer - System Operations
fog at t.is

TM Software - Skyggnir
Urðarhvarf 6, IS- 203 Kópavogur, Iceland
tel: + 354 545 3000-fax + 354 545 3001
www.t.is

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


More information about the Spacewalk-list mailing list