[Spacewalk-list] Failed rhnreg_ks

John Hodrien J.H.Hodrien at leeds.ac.uk
Fri Jan 23 12:10:29 UTC 2009


CentOS 5.2 server, Fedora 9 client.

After a successful kickstart (I don't rely on any of the spacewalk initiated
package installs working, as all the required rpms are installed during the
normal package phase), rhnreg_ks failed.

The machine rebooted as expected, and the rhnreg_ks failed afterwards too:

#rhnreg_ks --serverUrl=https://spacewalkserver/XMLRPC
--sslCACert=/usr/share/rhn/RHN-ORG-TRUSTED-SSL-CERT
--activationkey=1-689fc466371229946694b241624470a7 -vvvvv
D: opening  db environment /var/lib/rpm/Packages joinenv
D: opening  db index       /var/lib/rpm/Packages rdonly mode=0x0
D: locked   db index       /var/lib/rpm/Packages
D: opening  db index       /var/lib/rpm/Providename rdonly mode=0x0
An error has occurred:
<type 'exceptions.IndexError'>
See /var/log/up2date for more information
D: closed   db index       /var/lib/rpm/Providename
D: closed   db index       /var/lib/rpm/Packages
D: closed   db environment /var/lib/rpm/Packages
D: May free Score board((nil))

/var/log/up2date:

[Fri Jan 23 12:02:32 2009] up2date 
Traceback (most recent call last):
   File "/usr/sbin/rhnreg_ks", line 267, in <module>
     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_capabili
ties
     self.registration.welcome_message()
   File "/usr/share/rhn/up2date_client/rhnserver.py", line 62, in __call__
     message = pieces[2].strip(" '")
<type 'exceptions.IndexError'>: list index out of range

Server side I see:

==> /var/log/httpd/error_log <==
[Fri Jan 23 12:02:22 2009] [notice] child pid 16696 exit signal Segmentation fault (11)
[Fri Jan 23 12:02:33 2009] [notice] child pid 16708 exit signal Segmentation fault (11)

Not good.  Any tips?

Repeated attempts to register eventually resulted in a successful registration.

jh

-- 
"He who joyfully marches in rank and file has already earned my contempt. He
  has been given a large brain by mistake, since for him the spinal cord would
  suffice."                                           -- Albert Einstein




More information about the Spacewalk-list mailing list