LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-31-2001, 07:43 PM   #1
Ismark
LQ Newbie
 
Registered: Dec 2001
Location: Mexico city
Distribution: RedHat
Posts: 24

Rep: Reputation: 15
Installation problems using Oracle 8i


Hi guys
Im running on RH 7.1
I tried to install Oracle 8i for linux
but after I run the runInstaller
i got
Initializing Java Virtual Machine from ../stage/Components/oracle.swd/jre/1.1.8/DataFiles/Expanded/linux/bin/jre. Please wait....
I waited for almost 10 minutes =)
and I still waiting
I really apreciate any help =)
 
Old 01-01-2002, 11:46 PM   #2
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 56
what version of java do you use, and if it is kaffe suit, then download the latest stable j2sdk release from java.sun.com, remove the kaffe suite, probably it came in rpm package when you installed the os, do
rpm -e kaffe
then install downloaded java, update your path environment variable to look for java in the right place, and try again install Oracle.
 
Old 01-03-2002, 09:35 PM   #3
Ismark
LQ Newbie
 
Registered: Dec 2001
Location: Mexico city
Distribution: RedHat
Posts: 24

Original Poster
Rep: Reputation: 15
Hi
I already did exactly what u told me
but I had the same trouble
any idea?
thanks buddy

P.S
even I installed the RH 7.1 in a different computer
and I got the same message
 
Old 04-07-2002, 01:22 PM   #4
desbyleo
Member
 
Registered: Feb 2002
Location: Erie, CO
Distribution: Red Hat 7.1
Posts: 94

Rep: Reputation: 15
Did you ever find a solution....

Ismark, did you ever get Oracle 817 installed on your RH 7.1? I am getting exactly what you were getting when I am running ./runInstaller.

Please help.
 
Old 10-04-2002, 01:45 PM   #5
Gilgongo
LQ Newbie
 
Registered: Sep 2002
Location: Grimsby, UK
Distribution: Fedora 12/#!/ OpenSuse 11/MythBuntu
Posts: 7

Rep: Reputation: 0
I think the problem may be related to the JRE_LOCATION parameter in the file <cdrom-path>/install/oraparam.ini file. On my version this reads

JRE_LOCATION = /usr/local/jre

but in some comments I have seen the JRE_LOCATION seems to point to the directory you quote i.e. ../stage/Components/oracle.swd/jre/1.1.8/DataFiles/Expanded.

One workaround suggested at http://www.mandrakeuser.org/docs/utils/uoracle3.html is to copy the entire cd to your harddisk, edit this parameter, create a symlink, and install from the hard disk. Otherwise I suppose you could copy the individual file, edit it and then burn a new cd with the updated oraparam.ini file...!

I don't know if there's any other way as the param is hard coded into the file.
 
Old 10-18-2002, 09:18 PM   #6
hydralisk
LQ Newbie
 
Registered: Oct 2002
Location: France, Paris
Distribution: MDK 9.0
Posts: 2

Rep: Reputation: 0
Lightbulb [MDK 9.0 with RDBMS 8.1.7] the same problem you got + its solution

My distro is MDK 9.0.
I had the same problem you have with RDBMS 8.1.7 which runs smoothly with MDK 8.0 (just had to follow Oracle glibc patch).

For MDK9.0+ora817, I only had to follow parts of what says http://www.mandrakeuser.org/docs/utils/uoracle3.html

Notice 9.0 an 9iR1 works fine (but 9i is very resource consuming in my little box).

Here are my way to install it :
- Download jdk118_v3-glibc-2.1.3.tar.bz2
- xtract to /usr/local
- there, link java -> /usr/local/jdk118_v3/ (or use 'jre' if you want)
- edit oraparam.ini (in <where you extract the whole Disk1 of 817>/install) : JRE_LOCATION=/usr/local/java (or 'jre' if previously linked so)
- ./runInstaller
That's all (Folks) :P for the problem of jre failling to launch.
Then all ran smoothly in my case

Now another problem appears... sqlplus and svrmgrl are working.
But Netca and DBassist have their jre fail with :

Unable to initialize threads: cannot find class java/lang/Thread
Could not create Java VM

I am searching for solution, any idea would help.


Hydralisk

Last edited by hydralisk; 10-20-2002 at 04:48 PM.
 
Old 10-20-2002, 04:18 PM   #7
hydralisk
LQ Newbie
 
Registered: Oct 2002
Location: France, Paris
Distribution: MDK 9.0
Posts: 2

Rep: Reputation: 0
Cool dbassist and netca launched !!

For reminding, after smooth install of RDBMS 8.1.7 (cf my previous post)

I read this :
*Getting an error message saying "can't find class java/lang/Thread"
*You have JDK 1.1.6v5 and not the JRE 1.1.6v5. Java classes are stored in rt.jar in the JRE, while they are stored in classes.zip in the JDK. Furthermore, dbassist has the its -classpath command-line argument set to rt.jar. See Obtain the Java Runtime Environment

So I tilted that I should have installed JRE1.1.6 tar !
Then I do it in /usr/local. Linked it to /usr/local/jre.

I also edited $ORACLE_HOME/bin/netca :
modified JREDIR to : JREDIR=/usr/local/jre

Do the same with ?bin/dbassist.

Then both should work.


IMPORTANT WARNING:
After that, Oracle linking is ok, all execs seem to work, but oracle binary is still in error (just try with your init.ora, setup your env, and try to connect internal, then startup nomount : Oracle stucks still).
Indeed one last thing is missing : it is GLIBC 2.1.
cf §3.4 of http://www.mandrakeuser.org/docs/uti...le3.html#ss3.1
And follow exactly what it is in the paragraph.
(download it at kernel.org : cf http://www.mandrakeuser.org/docs/utils/uoracle2.html)

Now re-install all RDBMS to start from clean.
Patch netca and dbassist after installation.

Tested by myself (newbie in Oracle with Linux :-) ).
So I almost follow the entire advice of mandrakeuser.org's directives... yes indeed. But as I trust nothing and as now I am installing 8.17 (not 8.1.6) on MDK9.0 (not 8.1), quite natural I re-test each part...

---
Humm now the score : 4 install attempts, 3 days research, hope everything is ok now

Last edited by hydralisk; 10-20-2002 at 06:50 PM.
 
Old 11-13-2002, 12:01 AM   #8
sbrown
LQ Newbie
 
Registered: Nov 2002
Location: Calgary, Canada
Distribution: Red Hat 7.3/Slackware 8.1
Posts: 19

Rep: Reputation: 0
Take Java out of your path, and remove any CLASSPATH variables before starting runInstaller, also export LD_ASSUME_KERNEL=2.2.5

Have you installed the glibc 2.1 compatibility packages and have the oracle-stubs patch for glibc 2.2?
 
Old 12-02-2002, 09:50 AM   #9
pamski
LQ Newbie
 
Registered: Dec 2002
Posts: 1

Rep: Reputation: 0
Unhappy MDK 9 and Oracle 8i (8.1.7)

I have learned alot from reading this thread. I am still having problems getting my dbassist and netca working. as hydralisk noted, I am having the same problems. I am also a newbie to all of the above, but have not had problems with MDK 8.1 or 8.2 running Oracle 8i (8.1.7). I HAVE to use MDK 9 on my new server as the hardware is incompatible with 8.2 (darned integrated graphics and NIC )

Anyway, where do I make the $ORACLE_HOME/bin/netca entries? In the .bash_profile? PATH? and to modify the JREDIR...is that in the oraparam.ini?

HELP....please

A direct email will work also...turzanski@brodart.com

Thanks in advance.
 
Old 06-21-2003, 05:58 AM   #10
mitch123
LQ Newbie
 
Registered: Jun 2003
Location: Netherlands
Distribution: Redhat 8/9
Posts: 1

Rep: Reputation: 0
Smile

Thank's, I drowned in all the java and gcc stories, but this was the simple solution for getting 8.1.7 installed on Redhad 8

I think the problem may be related to the JRE_LOCATION parameter in the file /install/oraparam.ini file.

JRE_LOCATION = /usr/local/jre

but in some comments I have seen the JRE_LOCATION seems to point to the directory you quote i.e. ../stage/Components/oracle.swd/jre/1.1.8/DataFiles/Expanded.
 
Old 07-28-2003, 11:07 AM   #11
hrc
Member
 
Registered: Jun 2003
Location: Ohio
Posts: 54

Rep: Reputation: 15
Mitch - Did you ever get everything working on RHL8 & Oracle? Just wondering of the JRE location change helped. - I am having the same problems with RHL9 and Oracle 9i
Any words of Advice?
Thank you,
Mark
 
Old 09-01-2003, 10:48 AM   #12
jw_griffith
LQ Newbie
 
Registered: Mar 2003
Location: Westminster, CO
Distribution: SuSE 8.1
Posts: 15

Rep: Reputation: 0
Does any one have a copy of the Oracle stubs for glibc-2.1, Oracle seems to have taken it off line. You can email me with the attachment at jw_griffith@msn.com. It seems if I could find a copy for 2.1 it would break SuSE 8.1.
 
Old 09-01-2003, 11:09 AM   #13
sikandar
Member
 
Registered: Aug 2003
Distribution: Linux AS & RH 9
Posts: 255

Rep: Reputation: 30
Very useful stuff on the following link which will guide you through all the installation steps,

http://www.puschitz.com/InstallingOracle9i.html
 
Old 09-01-2003, 11:10 AM   #14
sikandar
Member
 
Registered: Aug 2003
Distribution: Linux AS & RH 9
Posts: 255

Rep: Reputation: 30
Very useful stuff on the following link which will guide you through all the installation steps,

http://www.puschitz.com/InstallingOracle9i.html

I have used this link to install O9i R2 on LRH9 and I cleared all the issues which are nicely explained on this site.
 
Old 09-01-2003, 11:17 AM   #15
jw_griffith
LQ Newbie
 
Registered: Mar 2003
Location: Westminster, CO
Distribution: SuSE 8.1
Posts: 15

Rep: Reputation: 0
Thanks to Sikandar, but my box is limited to 256k (can't go to 9.1 < 512k) running SuSE 8.1, installing Oracle 8.1.7
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Oracle 9i Installation pakuson Linux - Software 1 04-01-2005 02:21 AM
Installation of oracle on linux 7.2 vishalfirke Linux - Software 1 01-28-2005 03:21 PM
oracle installation alaios Fedora 4 04-17-2004 10:43 AM
Installation problems of RH9 Oracle 9as MOCKBA Linux - Software 2 12-30-2003 02:22 AM
Oracle 8i installation prowzen Linux - Software 0 04-20-2001 05:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:16 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration