System hangs by initializing JRE 
Author Message
 System hangs by initializing JRE
I want to install Oracle 8i Release 3 on Red Hat Linux 7.3. I followed the
documentation, but the System does not work anymore. There isn't shown a
error log or something.

I hope that anybody can help me...



Mon, 21 Feb 2005 17:56:44 GMT
 System hangs by initializing JRE

Hello!

What processor do you have? Pentium 4?

Sergey M.



Quote:
> I want to install Oracle 8i Release 3 on Red Hat Linux 7.3. I followed the
> documentation, but the System does not work anymore. There isn't shown a
> error log or something.

> I hope that anybody can help me...



Mon, 21 Feb 2005 23:25:48 GMT
 System hangs by initializing JRE
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.



Tue, 22 Feb 2005 09:47:27 GMT
 System hangs by initializing JRE
Hi!

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

Bye



Quote:
> 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.



Tue, 22 Feb 2005 16:25:01 GMT
 
 [ 4 post ] 

 Relevant Pages 

1. System hangs by initializing JRE

2. JRE hangs when trying to install 8.1.7

3. Oracle Intaller JRE hangs on RH 7.x

4. Which JRE version are running on my system?

5. OBH-1006: Could not initialize window system (exceed)

6. Informix/NT Problem Initializing Security System

7. snap-in failed to initialize and Application failed to initialize(0xc0000142

8. snap-in failed to initialize and Application failed to initialize(0xc0000142)

9. snap-in failed to initialize and Application failed to initialize

10. Accessing certain records hang system

11. SQL 7.0 query hangs system

12. Newbie - System Slows then hangs, same time every day


 
Powered by phpBB® Forum Software