Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: System hangs by initializing JRE

Re: System hangs by initializing JRE

From: Stefan Gaertner <Stefan.Gaertner_at_spcon.de>
Date: Fri, 6 Sep 2002 10:25:01 +0200
Message-ID: <al9ops$s5d$00$1@news.t-online.com>

Hi!

Have a lot of thanks. I'll try it and I hope, that it works.

Bye

"Vimal Rai" <vimal.rai_at_india.birlasoft.com> schrieb im Newsbeitrag news:d80ec6b7.0209051747.6c3751f7_at_posting.google.com...
> Installing Oracle 8.1.7 on Redhat Linux 7.1
> ***********************************
> After several attempts I have successfully managed to get Oracle 8.1.7
> running on Redhat 7.1 - thanks to various articles on the web. However
> none of these articles appeared to cover everything, so I have
> consolidated my knowledge for other people to work from.
> As everyone who has tried so far knows the problems is Redhat 7.x uses
> a newer version of the glibc libraries and all you need to do is use
> the compatibility libraries or something to solve this problem. Now if
> you're like me I can use Linux a bit but don't have much experience in
> this type of thing.
>
> So for people like me this is what you do.
>
> Getting The Compat Libraries.
> *************************
> If you are installing Linux 7.1 from scratch, make sure you select the
> following compat-egcs, compat-glibc and compat-libs packages during
> install - as these will install some libraries you will need to link
> to when installing oracle.
>
> 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
> ************************
> To do this either use the oracle manual or go to
> http://jordan.fortwayne.com/oracle/817.html Tom Bissett has done an
> excellent job here of simplifying what you need to get oracle up and
> running on Redhat 6.x
>
> 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
> *************************
> Now that the installer is running, install all the components you
> need, soon as you get a relinking error message, open another terminal
> and copy the following libraries, according to this technet article
> http://technet.oracle.com:89/ubb/Forum7/HTML/200166.html
> 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
> cp libpthread.so.0 $ORACLE_HOME/lib/libpthread.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
>
> 1. Increase the value of shmmax (maximum shared memory), you can do
> this by echoing a value normally half your physical memory, in bytes,
> to the /proc/sys/kernel/shmmax file, or you could recompile your
> kernel, not my thing.
>
> 2. Tweak your virtual memory settings for database activity.
>
> 3. Tune you parameter file to suit your needs - you should definitely
> do this.
>
> 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 Fri Sep 06 2002 - 03:25:01 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US