RE: Can't install under SuSE 8.0

Gustavo Dutra <[email protected]> Mon, 22 Jul 2002 11:22:09 -0300
Newsgroups gmane.linux.suse.db2
Message-ID <309B10D29A6CD511B4E4008048AAC9D5484621@NTWEB>
Thanks Daniel from SuSE and Timothy for your help.

Thought nobody from SuSE was listening here. Apologize for that...

I was missing DB2 in my 8.0 instalation. Will try later at home this
solution, but I know in advance it will work.

>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

Gustavo Dutra=20
Systems Developer=20
TOP SYSTEMS=20
[email protected]=20
http://www.topsystems.com.uy=20
Plaza Independencia 831 piso 9=20
Montevideo - URUGUAY=20
Tel.:=A0 (598-2) 9002627=20
Fax.: (598-2) 9003697=20


-----Mensaje original-----
De: Daniel Rahn [mailto:[email protected]]=20
Enviado el: Monday, July 22, 2002 11:03 AM
Para: [email protected]
Asunto: Re: [suse-ibm-db2] Can't install under SuSE 8.0

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.
>=20
> 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].


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        =20
ibm-db2         523/udp       =20

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

--
                                            =20
SuSE Linux AG                      |        phone: +49 (0) 911 74053 0=20
Support Services                   |        fax:   +49 (0) 911 74053 =
674=20
Deutschherrnstr. 15-19             |       =
http://www.suse.de/en/support
90443 Nuernberg                    |                             =
GERMANY


--=20
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]