The Installation of DB2 UDB V7.2 on SuSE Linux 8.0 Fails
Support knowledgebase (db2_suli8)
Applies to
SuSE Linux: Versions since 8.0
Symptom
The installation of IBM DB2 UDB V7.2 on SuSE Linux 8.0
aborts with a segmentation fault.
Cause
An error in the installation routine of IBM DB2 UDB V7.2
in connection with /etc/services.
Solution
Log in as root and proceed as follows:
- Move the file /etc/services:
mv /etc/services /etc/services.old
Make sure that you are only moving the file and not deleting it!
- Create a smaller /etc/services from the backup:
head -n 200 /etc/services.old > /etc/services
chmod -v u=rw,g=r,o=r /etc/services
The file must NOT include the following services:
ibm-db2 523/tcp # IBM-DB2
ibm-db2 523/udp # IBM-DB2
db2cdb2inst1 50000/tcp
db2cdb2inst1 50000/udp
db2idb2inst1 50001/tcp
db2idb2inst1 50001/udp
- Proceed to install IBM DB2 UDB V7.2 as described in the documentation.
- After having installed IBM DB2 UDB V7.2, note the services added to
/etc/services through the installation routine and insert them in /etc/services.old .
Always provided that you have not specified your own ports during the installation of the database,
the services should match the lines above.
- Finally, delete the file /etc/services and copy the edited backup back:
rm /etc/services
cp /etc/services.old /etc/services
Your database should now be ready to work.
Keywords: DB2, UDB, IBM, 8, SEGMENTATION, FAULT
Categories:
Commercial Applications
Feedback welcome: Send Mail to drahn+db2@suse.de (Please give the following subject: SDB-db2_suli8
)
SDB-db2_suli8, Copyright SuSE Linux AG, Nürnberg, Germany
- Version: 08. Jul 2002
SuSE Linux AG - Last generated: 08. Oct 2002 by glazzar (sdb_gen 1.40.0)