Re: Can't install under SuSE 8.0
Daniel Rahn <[email protected]> Mon, 22 Jul 2002 16:03:29 +0200
| Newsgroups | gmane.linux.suse.db2 |
|---|---|
| Organization | SuSE Linux AG, Nuernberg, Germany |
| Message-ID | <[email protected]> |
On Mon, Jul 22, Gustavo Dutra wrote: > >I had no trouble setting up DB2 7.2 EE under SuSE 7.3. It works well. On > >a new box that is running 8.0, no such luck. It seg faults after the > >software is installed and it is configuring the instances. > > Hi, I had the same problem, not only for 7.2 EE, but also for 7.2 personal > edition. Couldn't solve it, and I think that this list isn't used very > often, so perhaps you should check [email protected]. The problem is caused by the DB2 installer. It uses an array to read /etc/services. The array is too small for the /etc/services delivered with SuSE Linux 8.0 A workaround should be this: mv /etc/services /etc/services.old head -n 200 /etc/services.old > /etc/services Now install the database. The installer should work just fine now. After the installation has finished, note the lines that the installer added to /etc/services. They should be something like this: ibm-db2 523/tcp ibm-db2 523/udp db2cdb2inst1 50000/tcp db2cdb2inst1 50000/udp Delete the temporary /etc/services and copy the old one back: rm /etc/services mv /etc/services.old /etc/services Now check whether all the line noted before are within the /etc/services. You will probably have to add the two last ones noted above. Feedback welcome! Kind regards, Daniel Rahn -- SuSE Linux AG | phone: +49 (0) 911 74053 0 Support Services | fax: +49 (0) 911 74053 674 Deutschherrnstr. 15-19 | http://www.suse.de/en/support 90443 Nuernberg | GERMANY -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]