 |
Linux-Informix Forum
Re: IDS 9.3 crash on RedHat8.0
Posted By: Nian M. Chiu Date: Tuesday, 19 November 2002, at 8:27 p.m.
Hi, When I reported this subject matter on Oct. 17, there have been many replies posted on the forum. It is working very well for me now, thanks to all of you who share your thoughts and tips for making this happen. Among others whom contributed in this issue, special thanks to : Sean Durity, Mark Denham, Martin Fuerderer and Petr Sretr
Petr Sretr wrote: > > > Hi Petr, > > > > It is working beautifully. I can access remote dbms without IP address > > in /etc/hosts file now. > > I would like to thank you for willing to share your tips with me and > > tirelessly answer my questions. > > It's been my pleasure ;-). > > > Thank you Petr again and hope to hear > > from you in the Linux-Informix forums from time to time. > > Are you getting messages from linux-informix discussion ? > After my last report about bug in glibc library I didn't receive any > messages. > Could you inform other users in this discussion about your succes with > informix > on redhat 8.0. It could be better if more users can test this patched > glibc. > > > > > Regards,
Urged by Petr, allow me to string couple of e-mail together which helped me to make IDS9.30 works on RedHat 8.0. I apologize if some may already in the discussion forum. Regards, Nian-Ming > > ------------------------------------------------------------------------ > > Subject: Re: Red Hat 8.0 [114] > Date: Mon, 14 Oct 2002 13:51:01 -0400 (EDT) > From: "Mark Denham" <mkdenham@attbi.com> > To: linux-informix@iiug.org > > See Sandor's email from less than a week ago...below > > We have run into an serious rpm bug on RedHat 8. > rpm is ignoring the relocate option and the built-in environment variable > $RPM_INSTALL_PREFIX is not set during install. > > This problem is already logged into Bugzilla under 75550 and 75057 > > The only workaround we can suggest currently is: > > 1. export RPM_INSTALL_PREFIX=/opt/informix > 2. export INFORMIXDIR=/opt/informix > 3. install without any relocation. > > or you can use the rpm2cpio command > > After installation you have to do the known changes as in RedHat 7.3 ( > delete pthread library, install ncurses4 package) > > Thanks > Sandor > > IBM Informix Development Munich > Data Managment Solutions > Oskar Messter-Str. 20 > D-85737 Ismaning > Germany > Tel +49 89 9603 3254 > Fax: +49 89 9603 3200 > Cell: +49 171 8218044 > > ----- Original Message ----- > From: "Brian Pang" <brian.pang@cox.net> > To: <linux-informix@iiug.org> > Sent: Monday, October 14, 2002 09:38 > Subject: RE: Red Hat 8.0 [113] > > > Hi Guys, > > > > I am trying to install ids 9.30UC2 on RH 8, but the "--relocate" option of > > rpm does not work. I am getting the "INFORMIXDIR" does not match the > target > > directory error. > > > > Any suggestions? > > > > Thanks > > > > Brian > > > > -----Original Message----- > > From: forum.subscriber@iiug.org [mailto:forum.subscriber@iiug.org]On > > Behalf Of Sandor Szabo > > Sent: Monday, October 14, 2002 7:42 AM > > To: linux-informix@iiug.org > > Subject: Re: Red Hat 8.0 [109] > > > > > > > > Hi Ronald, > > If the pthread library is picked up from /lib/i686/libpthread.so.0 then > you > > can use it without any problems. The change we had to do is NOT > > necessary any more with the new libpthread version, so in the future (In > > the version 9.4 ) we will NOT ship this library any more. > > Thanks > > Sandor > > > > IBM Informix Development Munich > > Data Managment Solutions > > Oskar Messter-Str. 20 > > D-85737 Ismaning > > Germany > > Tel +49 89 9603 3254 > > Fax: +49 89 9603 3200 > > Cell: +49 171 8218044 > > > > > > > > > > "Ronald Cole " > > <ronald@forte-int To: > > linux-informix@iiug.org > > l.com> cc: > > Sent by: Subject: Red Hat 8.0 > [108] > > forum.subscriber@ > > iiug.org > > > > > > 12.10.2002 01:48 > > > > > > > > > > > > Sean R. Durity writes: > > > OK, who is going to be first to get Informix up on Red Hat's new 8.0 > > > (released today)? :) > > > > To get IDS-9.30UC2 running on RHL8.0, I had to install the > > ncurses4-5.0-9 rpm from disc 2 and move /var/lib/libpthread.so.0 to > > /var/lib/libpthread.so.0.021010 to get the engine initialized. But > > moving /var/lib/libpthread.so.0 just makes IDS use Red Hat's > > /lib/i686/libpthread.so.0 instead. Various users have reported that > > this workaround seemed to perform for them without issue. I examined > > IDS's dynamic executables and it looks to me like the libpthread.so is > > involved in the "Java in the server" bits. Has anybody actually > > tested the "workaround" with any "Java in the server" code that uses > > threads to see if it's really a good workaround? > > > > Here's my list of IDS dynamic executables that reference libpthread.so.0: > > > > /opt/informix/bin/onbar_d > > /opt/informix/bin/oninit > > /opt/informix/extend/krakatoa/jre/bin/i386/native_threads/java > > /opt/informix/extend/krakatoa/jre/bin/i386/native_threads/java_vm > > /opt/informix/extend/krakatoa/jre/bin/i386/native_threads/keytool > > /opt/informix/extend/krakatoa/jre/bin/i386/native_threads/policytool > > /opt/informix/extend/krakatoa/jre/bin/i386/native_threads/rmid > > /opt/informix/extend/krakatoa/jre/bin/i386/native_threads/rmiregistry > > /opt/informix/extend/krakatoa/jre/bin/i386/native_threads/tnameserv > > /opt/informix/extend/krakatoa/jre/lib/i386/client/libjvm.so > > /opt/informix/extend/krakatoa/jre/lib/i386/native_threads/libhpi.so > > /opt/informix/extend/krakatoa/jre/lib/i386/server/libjvm.so > > /opt/informix/extend/krakatoa/jre/plugin/i386/ns600/libjavaplugin_oji.so > > /opt/informix/lib/cli/iclit09b.so > > /opt/informix/lib/cli/iclit09bW.so > > /opt/informix/lib/cli/libthcli.so > > /opt/informix/lib/cli/libthcliW.so > > > > -- > > Forte International, P.O. Box 1412, Ridgecrest, CA 93556-1412 > > Ronald Cole <ronald@forte-intl.com> Phone: (760) 499-9142 > > President, CEO Fax: (760) 499-9152 > > My GPG fingerprint: C3AF 4BE9 BEA6 F1C2 B084 4A88 8851 E6C8 69E3 B00B > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------ > > Subject: Re: IDS 9.3 crash on RedHat8.0 [127] > Date: Wed, 23 Oct 2002 02:37:37 -0400 (EDT) > From: "Petr Sretr " <sretr@datis.cz> > To: linux-informix@iiug.org > > I found that informix crashed every time when i try to connect to > database over network ( when i connect by the shared memory there is no > problem and database working fine ). > On RedHat bugzilla i found this discussion > https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=75128 which > describe the same problem in MySql database. In discussion > redhat inform that this happen because they increase packet size in > resolver code in glibc library from 1k to 65k. This problem may > temporary solved by inserting ip address > and hostname host from which you want to connect to /etc/hosts file. > > I'am sory for my bad english > Petr > > > We are working on this ... > > > > TIA, > > Martin > > -- > > Martin Fuerderer > > IBM Informix Development Munich > > Data Management Solutions > > > > > > > > > > > > "Peter J Dia...." <pdiazdeleon@infinityhealthcare.com> > > Sent by: Martin Fuerderer/Germany/IBM@IBMDE > > 18.10.2002 12:01 > > > > > > To: linux-informix@iiug.org > > cc: > > Subject: Re: IDS 9.3 crash on RedHat8.0 [125] > > > > > > > > Where does on get a patched version of the pthread library? > > Can it be made available via IIUG web site? > > > > Thanks > > -Peter > > > > > > Martin Fuer.... wrote: > > > > >Hi, > > > > > >this may be a problem with the utilization of pthreads library on > > >your system. > > > > > >To verify this, you need to do : > > > > > > ldd $INFORMIXDIR/bin/oninit > > > > > > This will show something like this : > > > > > > iosm09a.so => /usr/lib/iosm09a.so (0x4001d000) > > > libpthread.so.0 => /lib/i686/libpthread.so.0 (0x40020000) > > > ismdd09a.so => /usr/lib/ismdd09a.so (0x40050000) > > > ... > > > > > > If this does not show that libpthread.so.0 is taken from > > > /lib/i686/... but some other libpthread is used, then this is most > > > likely your problem. > > > > > >In this case you need to > > > - use a patched version of our own libifxpthread.so (I'm going > > > to send you that as attachment in a separate e-mail). > > > - best is to install that patched version of libifxpthread.so into > > > $INFORMIXDIR/lib > > > - and then re-create the link in /var/lib/ to point to it. > > > This way all other applications on the system remain > > > un-affected of this specific libpthread. > > > > > ------------------------------------------------------------------------ > > Subject: Re: IDS 9.3 crash on RedHat8.0 > Date: Thu, 31 Oct 2002 08:33:51 +0100 > From: Petr Sretr <sretr@datis.cz> > To: "Nian M. Chiu" <nmc@ipac.caltech.edu>, linux-informix@iiug.org > > >Hi Petr, > > >Inserting IP address & host name into /et/hosts did work around the > >problem in the resolver code when I connect to remote database over > >network. Have you try to connect from the remote host to database on > >that RedHat 8.0 box? > > Yes and it works without any problem. Have you any note in online.log ? > What say command 'netstat -apn | grep LISTEN' ? Is there record for > onitit process > and for ip address to which you want connect ? > > >Because it gave me "908" and get disconnected. I've > >checked the port, sqlhosts and they were fine as it was on RedHat7.3 > >(when everything works). Is there any new work around for this? Thank > >you very much for the previous bug info. > > I ported Jakub's patch from glibc package ( > ftp://people.redhat.com/jakub/glibc/errata/7.3/SRPMS/glibc-2.2.5-42.src.rpm > ) > to version on redhat 8.0. If you want I can upload patched glibc to > yours ftp server or send patch and spec file by email. > Petr Sretr wrote: > > > > > 1. download source package for glibc from > > ftp://ftp.redhat.com/pub/redhat/linux/8.0/en/os/i386/ > > SRPMS/glibc-2.2.93-5.src.rpm > > or other mirror site > > 2. su > > 3. rpm -i glibc-2.2.93-5.src.rpm > > 4. cp glibc-2.2.5-dl-environ.patch /usr/src/redhat/SOURCES/ > > 5. cp glibc-maxpacket.patch /usr/src/redhat/SOURCES/ > > 6. cp glibc-2.2.5-setrlimit.patch /usr/src/redhat/SOURCES/ > > 7. cp glibcnew.spec /usr/src/redhat/SPECS/ > > 8. cd /usr/src/redhat/SPECS/ > > 9. rpmbuild -bb glibcnew.spec > > 10. rpmbuild -bb --target i686 glibcnew.spec > > 11. rpm -Fvh /usr/src/redhat/RPMS/i386/glibc-*-2.2.93-6.i386.rpm \ > > /usr/src/redhat/RPMS/i686/glibc-2.2.93-6.i686.rpm \ > > /usr/src/redhat/RPMS/i386/nscd-2.2.93-6.i386.rpm > > 12. reboot linux > > >
Linux-Informix Forum is maintained by Administrator with WebBBS 5.12.
|
 |