Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Seg Fault when installing DB2 on SuSE Linux

Status
Not open for further replies.

forau

Programmer
Sep 4, 2002
2
US
I have been beating my head against the wall all week on this problem, and I don't seem to be making any leeway. So, any help that anyone can give me will be most appreciated. Here's the deal:

I am trying to install DB2 7.2 on SuSE 8.0. During the install (when it says "Administer Server Configuration"), the install screen dies, says "Segmentation Fault", and dumps me back to the command prompt. I have made sure that there are no instances of the string "db2" in /etc/services and /etc/inittab. I have also made sure that the three default users and groups do not exist prior to installation. /tmp/db2setup.log doesn't have any errors, and it looks like the install is dying inside the method DB2IProtocol::CreateTCP() - I found this out by running db2setup -d (for debug).

That's about it. Thanks in advance!
 
Figured it out....

SuSE 8.0 comes with a *bajillion* entries in /etc/services. This is what is causing the seg fault. So, if you copy the file to a temp file and put a smaller file in its place, the install will go just swimingly.

As a side note, SuSE 8.0 also does not come with ksh, so you will have to install that to run a bunch of the scripts that come with DB2
 
Actually it isn't the size of the services file; it's the content (presumably the width)

wc -L should give you about 86 or thereabouts; the 8.0 Professional copy is initially 425.
Many entries are missing their newlines; e.g. services 6400 to 6410, 2038, 17007 and 2747 et al.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top