<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7651.59">
<TITLE>Registering RHEL5 based system to Spacewalk</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->

<P><FONT SIZE=2>Hi,<BR>
<BR>
After installing and configuring a Spacewalk server i had some issues with register a client to the Spacewalk server.<BR>
<BR>
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!).<BR>
<BR>
Errors from the Spacewalk server before installing rhel-instnum:<BR>
<BR>
2008/06/22 16:05:50 -00:00 4105 217.X.X.19: rhnSQL/int_oracle.connect('Connecting to database', 'xe')<BR>
2008/06/22 16:07:46 -00:00 4107 217.X.X.19: server/rhnImport.load('ERROR', 'Error importing xmlrpc: No module named instnum')<BR>
2008/06/22 16:07:46 -00:00 4107 217.X.X.19: rhnSQL/int_oracle.connect('Connecting to database', 'xe')<BR>
2008/06/22 16:08:02 -00:00 4108 217.X.X.19: server/rhnImport.load('ERROR', 'Error importing xmlrpc: No module named instnum')<BR>
<BR>
Errors from the client system (/var/log/up2date):<BR>
[Sun Jun 22 21:32:24 2008] up2date Error communicating with server. The message was:<BR>
While running 'registration.welcome_message': caught<BR>
exceptions.KeyError : 'xmlrpc'<BR>
<BR>
[Sun Jun 22 21:32:24 2008] up2date<BR>
Traceback (most recent call last):<BR>
  File "/usr/sbin/rhnreg_ks", line 267, in ?<BR>
    cli.run()<BR>
  File "/usr/share/rhn/up2date_client/rhncli.py", line 65, in run<BR>
    sys.exit(self.main() or 0)<BR>
  File "/usr/sbin/rhnreg_ks", line 88, in main<BR>
    rhnreg.getCaps()<BR>
  File "/usr/share/rhn/up2date_client/rhnreg.py", line 324, in getCaps<BR>
    s.capabilities.validate()<BR>
  File "/usr/share/rhn/up2date_client/rhnserver.py", line 154, in __get_capabilities<BR>
    self.registration.welcome_message()<BR>
  File "/usr/share/rhn/up2date_client/rhnserver.py", line 52, in __call__<BR>
    raise self.__exception_from_fault(f)<BR>
up2date_client.up2dateErrors.CommunicationError: Error communicating with server. The message was:<BR>
While running 'registration.welcome_message': caught<BR>
exceptions.KeyError : 'xmlrpc'<BR>
<BR>
Hope this helps.<BR>
<BR>
Kær kveðja / Best regards,<BR>
Finnur Ö. Guðmundsson<BR>
MCP - RHCA - Linux+<BR>
System Engineer - System Operations<BR>
fog@t.is<BR>
<BR>
TM Software - Skyggnir<BR>
Urðarhvarf 6, IS- 203 Kópavogur, Iceland<BR>
tel: + 354 545 3000-fax + 354 545 3001<BR>
www.t.is<BR>
<BR>
</FONT>
</P>

</BODY>
</HTML>