Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: System hangs by initializing JRE
Installing Oracle 8.1.7 on Redhat Linux 7.1
So for people like me this is what you do.
Getting The Compat Libraries.
If you are installing on a pre-configured Linux 7.1 box then check to see if you have a /usr/i386-glibc21-linux/lib directory. If you do then you should have the libraries listed later on in there.
If not then install the compat-glibc RPM for 2.1.3.x, just get your local Linux expert to do this or login as root and either download the rpm or install it from a cd.
Setting Up The Oracle Account
You should now have an oracle user with some .bash_profile settings and some groups setup, also you may have tried to install oracle without any success, if you jumped straight to the install
Now if you try and run oracle installer now, it may just hog all your
cpu's and do nothing. If it does that, then add the following lines to
you .bash_profile.
LD_ASSUME_KERNEL=2.2.5; export LD_ASSUME_KERNEL
Now login and out again and run the installer, all should be happy now.
Installing The Oracle Software
cp ld-2.1.3.so $ORACLE_HOME/lib/ld-linux.so.2 cp libc-2.1.3.so $ORACLE_HOME/lib cp libdl.so.2 $ORACLE_HOME/lib/libdl.so
and create a file in $ORACLE_HOME/lib called libc.so with the
following contents (as a single line):
GROUP ( /lib/libc-2.1.3.so /lib/ld-linux.so.2 /libc_nonshared.a )
Substitute the value of $ORACLE_HOME for and the location of the
compat-glibc directory for . For example:
My $ORACLE_HOME is:
/u01/app/oracle/product/8.1.7
and my compat-glibc directory is:
/usr/i386-glibc21-linux/lib
so the GROUP line looks like this:
GROUP (/u01/app/oracle/product/8.1.7/lib/libc-2.1.3.so
/u01/app/oracle/product/8.1.7/lib/ld-linux.so.2
/usr/i386-glibc21-linux/lib/libc_nonshared.a)
Now press retry and the file should link happily, if not, no worries,
we can sort this in a minute, just press ignore so you get all the
components installed.
Once the install has finished
Go to the oracle bin directory and type in relink all – make sure you have plenty of terminal buffer setup so you can go back and look at the error messages.
After a while the relinking will have finished and you will need to track down which libraries are incompatible. Look for error messages about invalid call references; these lines will have a library name associated with them e.g. Libcrypt.so, if you see this copy the library from /i386-glibc21-linux/lib, it will most likely be named lib(XXX)-2.1.3.so, therefore when copying it you will be renaming it to lib(XXX).so
Try the relinking again and everything should link, if it doesn't track down the library and try again!
For me I needed
libpthread.so
libm.so
libcrypt.so
libdl.so
libc-2.1.3.so – you leave this called libc-2.1.3.so
ld-linux.so.2
Once you have linked everything you can use dbassist to create a nice
clean database.
You also may want to
Hope this helps and if there are simpler easier ways to do this, then add it to the message thread.
I would also like to thank all the people out there who had placed answers to other people's installation attempts and indirectly helped me get oracle up and running.
Also I hold no responsibility for mistakes or pointless steps in this message, I was just trying to help. Received on Thu Sep 05 2002 - 20:47:27 CDT