Oracle 9i on linux is no fun

Oracle 9i on linux is no fun

I have installed Oracle many times. I have never encountered as many issues during installation on Solaris or Windows. However, when I tried it on Linux, I get errrors left and right.

The first error that I encountered was JVM unable to initialize. Please see error below:

—————–

Initializing Java Virtual Machine from /tmp/OraInstall2004-11-26_10-31-58PM/jre/bin/java. Please wait…

head: `-1′ option is obsolete; use `-n 1′ since this will be removed in the future

Error occurred during initialization of VM

Unable to load native library: /tmp/OraInstall2004-11-26_10-31-58PM/jre/lib/i386/libjava.so: symbol __libc_wait, version GLIBC_2.0 not defined in file libc.so.6 with link time reference

—————–

I worked around the issue by edit the JRE_LOCATION parameter in Disk1/install/linux/oraparam.ini file. (source: http://www.oracle-base.com/articles/9i/Oracle9iInstallationOnFedora1.php)

Then the installer complained that it doesn’t have enough primission. Please see error message below:

—————–

Error: you do not have sufficient privileges to write to the specified path. in component Database Configuration Assistant 9.2.0.1.0 . installation cannot continue for this component.

—————–

I tried a suggestion by chmod /var/log to 777 (source: http://www.tek-tips.com/viewthread.cfm?qid=952748&page=1), however that didn’t help. Looks like I’ll need to strace the thing to find out what the installer is trying to do down there on the disk.

In the process of strace the installer, I discovered that “> file” doesn’t work on Linux when part of the file contains binary.

I also found out that tail command do have a limit. After certain limit, the output will be the same as the original file. Before the limit, I would get a small fraction of the original file. The fraction is around 1/10. Increase the limit by about 1/3,which was beyond the limit, the output has the same size as the original file.

I did a little filtering by first grep for “stat” to see what files the installer is trying to lookup, then look for error message “ENOENT”. Since I know that the installer was trying to write and couldn’t, then I can ignore /tmp, lib directories, JDK directory, and oracle home directory. Since I took a snap shot of the trace file right after the error occurred, I was able to eliminate all the cleanup activites and able to “see” the errors toward end of the trace file. Anyway, I don’t really see much beyond the following:

—————

3388 stat64(“/usr/bin/save”, 0x7fffe800) = -1 ENOENT (No such file or directory)

3388 stat64(“/usr/bin/nsr/save”, 0x7fffe820) = -1 ENOENT (No such file or directory)

3388 stat64(“/opt/networker/bin/save”, 0x7fffe8b0) = -1 ENOENT (No such file or directory)

3388 stat64(“/usr/networker/bin/save”, 0x7fffe940) = -1 ENOENT (No such file or directory)

3388 stat64(“/bin/save”, 0x7fffe9d0) = -1 ENOENT (No such file or directory)

3388 stat64(“/opt/usr/networker/bin/save”, 0x7fffea60) = -1 ENOENT (No such file or directory)

3388 stat64(“/usr/opt/networker/bin/save”, 0x7fffeaf0) = -1 ENOENT (No such file or directory)

3388 stat64(“/nsr/res/nsrdb”, 0x7fffec10) = -1 ENOENT (No such file or directory)

3389 stat64(“/sbin/fuser”, 0x7d7fe4b0) = -1 ENOENT (No such file or directory)

3390 stat64(“/sbin/fuser”, 0x7d7fe4b0) = -1 ENOENT (No such file or directory)

3391 stat64(“/sbin/fuser”, 0x7d7fe4b0) = -1 ENOENT (No such file or directory)

3393 stat64(“/sbin/fuser”, 0x7d7fe4b0) = -1 ENOENT (No such file or directory)

3394 stat64(“/sbin/fuser”, 0x7d7fe4b0) = -1 ENOENT (No such file or directory)

3395 stat64(“/sbin/fuser”, 0x7d7fe4b0) = -1 ENOENT (No such file or directory)

—————

All of the listed files/directories do no exist.

It’s late for me, I guess I’ll need to install on a different OS to get it up and running.

Advertisements

4 thoughts on “Oracle 9i on linux is no fun

  1. I have been trying for a few days now to install ORACLE 9i on a Centos VMWare. No luck though. After following a dozen of tutorials, I finally managed to start the install. Unfortunately I get a “version GLIBC_2.0 not defined in file libc.so.6 with link time reference” link error during database configuration in the install. Haven\t given up yet though. I’m still trying… It seems that I have to override somehow the C++ libraries with the ones that use the GLIBC_20 headers, although I didn’t figure out how to do that yet. Wish me luck. CEZAR

  2. Hi Cezar,

    I do wish you best of luck. My experience with Oracle installation on Solaris was night and day when comparing to Oracle installation on Linux back when I wrote this blog. Oracle on Solaris was painless and I wished Oracle on Linux was also that easy.

  3. Hi,

    I was thinking of installing Oracle 9i on a playstation 3 (fedora). Have you ever heard of anyone doing this? Do you think this is even possible?

    Thanks,
    Patrick

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s