Friday, January 20, 2012

Oracle 10g R2 runInstaller issues on RedHat 5

For my new project I was trying to install Oracle 10g R2 on my RedHat 5 Linux host. I already had an Oracle 11g R2 installed on that Linux host, so I was hoping that the installation should be rather straight forward but wasn't so.

I downloaded the 10g R2 binaries from the Oracle web page, and after gunzipping and cpioing proceeding to execute the runInstaller.

Here is the first issue that I hit:

-bash-3.2$ ./runInstaller
Starting Oracle Universal Installer...

Checking installer requirements...

Checking operating system version: must be redhat-3, SuSE-9, redhat-4, UnitedLinux-1.0, asianux-1 or asianux-2
                                      Failed <<<<

Exiting Oracle Universal Installer, log for this session can be found at /u01/app/oraInventory/logs/installActions2012-01-19_04-28-30PM.log

Looks like at the time Oracle 10g R2 was released, RedHat was still at version 4, so when the installer looks at the certified OS'es it fails.

/home/oracle/database/10g/database/install/oraparam.ini file is where the Certified Versions of Linux are listed. As you see redhat-5 is missing.

[Certified Versions]
Linux=redhat-3,SuSE-9,redhat-4,UnitedLinux-1.0,asianux-1,asianux-2

The fix is pretty straight forward. We just have add redhat-5 to that list.

A good way to go about with that is to copy the oraparam.ini file to /tmp and then add redhat-5 to the list as shown below.

[Certified Versions]
Linux=redhat-3,SuSE-9,redhat-4,UnitedLinux-1.0,asianux-1,asianux-2,redhat-5

This resolves the first issue and we move a bit further along, but not for long. I now see a new error message.

-bash-3.2$ ./runInstaller -paramFile /tmp/oraparam.ini
Starting Oracle Universal Installer...

Checking installer requirements...

Checking operating system version: must be redhat-3, SuSE-9, redhat-4, UnitedLin
ux-1.0, asianux-1, asianux-2 or redhat-5
                                      Passed


All installer requirements met.

Preparing to launch Oracle Universal Installer from /tmp/OraInstall2012-01-19_05-10-37PM. Please wait ...-bash-3.2$ Oracle Universal Installer, Version 10.2.0.1.0 Production
Copyright (C) 1999, 2005, Oracle. All rights reserved.

Exception java.lang.UnsatisfiedLinkError: /tmp/OraInstall2012-01-19_05-10-37PM/jre/1.4.2/lib/i386/libawt.so: libXp.so.6: cannot open shared object file: No such file or directory occurred..
java.lang.UnsatisfiedLinkError: /tmp/OraInstall2012-01-19_05-10-37PM/jre/1.4.2/lib/i386/libawt.so: libXp.so.6: cannot open shared object file: No such file or d


I looked for the libXp rpm, and noticed that I already had them.


-bash-3.2$ rpm -qa --queryformat "%{NAME}-%{VERSION}-%{RELEASE} (%{ARCH})\n" | grep libXp
libXpm-devel-3.5.5-3 (x86_64)
libXpm-3.5.5-3 (i386)
libXpm-3.5.5-3 (x86_64)

The fix for this is to install libXp-1.0.0-8.1.el5.i386.rpm

I downloaded the rpm from http://rpm.pbone.net/index.php3/stat/4/idpl/8077225/com/libXp-1.0.0-8.1.el5.i386.rpm.html


[root@isvx7 rpm]# ls
libXp-1.0.0-8.1.el5.i386.rpm
[root@isvx7 rpm]# rpm -i libXp-1.0.0-8.1.el5.i386.rpm
warning: libXp-1.0.0-8.1.el5.i386.rpm: Header V3 DSA signature: NOKEY, key ID e8562897
[root@isvx7 rpm]# rpm -qa --queryformat "%{NAME}-%{VERSION}-%{RELEASE} (%{ARCH})\n" | grep libXp
libXpm-devel-3.5.5-3 (x86_64)
libXp-1.0.0-8.1.el5 (i386)
libXpm-3.5.5-3 (i386)
libXpm-3.5.5-3 (x86_64)
[root@isvx7 rpm]#

Things were good after that, and the installer GUI came up fine.

If you have access to Metalink, or whatever they call it these days, checkout the below documents.
[ID 456634.1]
[ID 443617.1]

No comments: