Link to home
Create AccountLog in
Avatar of minichicken
minichicken

asked on

installing Oracle9i on Linux - Fedora Core 2

im having trouble installing Oracle9i on Linux Fedora Core 2.

when i try run the installer ´runInstaller´ i get this message:

[oracle@localhost Disk1]$ sh runInstaller
[oracle@localhost Disk1]$ Initializing Java Virtual Machine from /tmp/OraInstall2005-03-09_10-29-09AM/jre/bin/java. Please wait...
Error occurred during initialization of VM
Unable to load native library: /tmp/OraInstall2005-03-09_10-29-09AM/jre/lib/i386/libjava.so: symbol __libc_wait, version GLIBC_2.0 not defined in file libc.so.6 with link time reference
it...
Error occurred during initialization of VM
Unable to load native library: /tmp/OraInstall2005-03-09_10-29-09AM/jre/lib/i386/libjava.so: symbol __libc_wait, version GLIBC_2.0 not defined in file libc.so.6 with link time reference

any clues?
Avatar of marxy
marxy

look there.
http://www.oracle-base.com/articles/9i/Oracle9iInstallationOnFedora1.php

or text version
http://www.linux-sxs.org/databases/oracle_on_fedora.html

---
Simply saying, you need to install compat-* libraries.
Avatar of minichicken

ASKER

what is .bash_profile file?
Install the Java development kit:

# Make the bin file executable
chmod u+x j2sdk-1_3_1_09-linux-i586.rpm.bin
# Run the bin file. Agree to the terms and conditions.
./j2sdk-1_3_1_09-linux-i586.rpm.bin
# Install the RPM file.
rpm -ivh jdk-1.3.1_09.i586.rpm

im sure ive got JDK installed... where do i check if it is installed and is it installed according to the above 8 lines?
its for Fedora Core 1 and not 2. there are files needed that are not on the cdś...
sorry man, i think ive tried this about 100 times! all i need now is a knife
Don't use knife, boddy! Think 'bout parents :-)))
I think you need to install compat libraries 'cause the error is GLIBC.

Look at docs
# From Fedora Core 2

rpm -Uvh compat-libstdc++-7.3-2.96.126.i386.rpm
rpm -Uvh compat-libstdc++-devel-7.3-2.96.126.i386.rpm
rpm -Uvh compat-gcc-7.3-2.96.126.i386.rpm
rpm -Uvh compat-gcc-c++-7.3-2.96.126.i386.rpm

Second, you need to set some veriables at you .bash_profile file of the account you supposed to run Oracle.
im logged in as root.

do i need to log in as ´oracle´ to edit the file?

and

where can this file be found?
yes. u should log in as a user u're planning to run database.
and edit its .bash_profile file as described at the documentation above.
Install the 3006854 patch:

unzip p3006854_9204_LINUX.zip
cd 3006854
sh rhel3_pre_install.sh


i cant find this file to install?
well when i run it i get this.....


[oracle@localhost Disk1]$ ./runInstaller
[oracle@localhost Disk1]$ Initializing Java Virtual Machine from /tmp/OraInstall2005-03-09_05-41-02PM/jre/bin/java. Please wait...
Error occurred during initialization of VM
Unable to load native library: /tmp/OraInstall2005-03-09_05-41-02PM/jre/lib/i386/libjava.so: symbol __libc_wait, version GLIBC_2.0 not defined in file libc.so.6 with link time reference
 
[oracle@localhost Disk1]$ ./where was that knife again
Error occured during knife finding


waaaaaaaaaaaaaaaa!!!

ASKER CERTIFIED SOLUTION
Avatar of marxy
marxy

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
YOU ARE BEYOND A LEGEND DUDE!!!!!

the install started running fine.

only issue is that its now prompting me for root permission to certain folders etc. how do i work around the permission issues?
What exactly did it ask?
well it says that i dont have permission to install a perticular componant of the DB....

do you think it will be ok for me to install it logged in as another user?
No. You have to install database as a user who will start it.
well hereś the error:

ERROR: you do not have sufficient provelages to write to the specified path. in Componant Database configuration assistant 9.2.0.1.0 installation cannot continue.
there are obviously access rights that the ´oracle´ user needs that i havent given.

i´ll accept your answer, thanks again dude. and open another for the permission errors.

shot