From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:0.9.2)
Description of problem:
I have just upgraded a machine from RH 5.2 to RH 7.1. After the install
everything works OK, except on running rhn_gegister as root after a second
or two, it core dumps. Nothing appears except for the core dump message.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
Actual Results: [root@pt-ftp rhn]# rhn_register
Segmentation fault (core dumped)
hmm. Havent seen this before.
segfaults in python generally indicate an error in loading
one of the libraries that one of the python modules link to.
Of course, thats alot of stuff, so doesnt narrow the search down
Does python itself run?
and seeing if the intrepeter starts up. ctrl-d to exit that process.
Does rpm seem to work correctly on the box?
Could you send me the output of `rpm -qa `?
Not exactly where to start looking for this one.
Created attachment 36181 [details]
Output of 'rpm -qa' as requested
[root@pt-ftp /root]# python
Python 1.5.2 (#1, Mar 3 2001, 01:35:43) [GCC 2.96 20000731 (Red Hat Linux 7.1
2 on linux-i386
Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam
I have attached rpm-qa which is the output of 'rpm -qa'.
rpm seems to work fine, I can add and delete packahes OK.
I have been doing some testing in the last day or so, and I think I have
narrowed it down to a line in /usr/share/rhn/register/rhnreg.py.If I comment out
the line 'import rpm' then it doesn't core dump, but then it failes with a
message about ssl, which I assume is related to the missing import.
I have installed the latest rhn_register and up2date updates and removed glint
from the machine and rhn_register now works.
You can close this now.