Pavan DBA's Blog

The DBA Knowledge Store

Problem in installing Oracle10gR2 on Linux 5.2

Posted by Pavan DBA on October 31, 2010


Long back i discussed about a problem in initiating runInstaller while we are installing oracle 10g on Linux 5 (any vendor) at https://pavandba.wordpress.com/2009/12/10/problem-in-installing-oracle10gr2-on-rhel-5-2-solution/

Now, even after initiating runInstaller, still you may face problems as below

1) Exception java.lang.UnsatisfiedLinkError: /tmp/OraInstall2005-07-07_09-40-45AM/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/OraInstall2005-07-07_09-40-45AM/jre/1.4.2/lib/i386/libawt.so: libXp.so.6: cannot open shared object file: No such file or directory

you may get above error after runInstaller started. The reason for this is non-availability of libXp-1.0.0-8.1.el5.i386.rpm package. So, contact your unix team to install those packages

2) After fixing above package, your runInstaller will be started successfully, but still you may get error at the time of linking the files. This is again due to some packages missing or when you try to install 32bit oracle on 64-bit operating system.

Note : Never try to install 32-bit oracle on 64-bit OS as it is not compatible

When you are having 32-bit OS and installing same bit version oracle, check if you have following packages

binutils.i386
compat-gcc-7.3-2.96.128.i386
compat-gcc-c++-7.3-2.96.128.i386
compat-libstdc++-7.3-2.96.128.i386
compat-libstdc++-devel-7.3-2.96.128.i386
cpp.i386
gcc.i386
gcc-c++.i386
glibc.i386
glibc-common.i386
glibc-devel.i386
glibc-headers.i386
glibc-kernheaders.i386
libstdc++.i386
libstdc++-devel.i386
libaio
libai-devel.i386
pdksh.i386
setarch.i386
sysstat.i386

we can check for above packages using below command

rpm -q binutils gcc glibc glibc-headers glibc-kernheaders glibc-devel compat-libstdc++ cpp compat-gcc make compat-db compat-gcc-c++ compat-libstdc++ compat-libstdc++-devel setarch sysstat pdksh libaio libaio-devel –qf ‘%{name}.%{arch}\n’|sort

3) when we have 64-bit OS and installing 64-bit oracle, use below command to find all the required packages

rpm -q binutils compat-db compat-libstdc++-33 glibc glibc-devel glibc-headers gcc gcc-c++ libstdc++ cpp make libaio ksh elfutils-libelf sysstat libaio libaio-devel setarch –qf ‘%{name}.%{arch}\n’|sort

binutils.x86_64
compat-db.x86_64
compat-libstdc++-33.i386
compat-libstdc++-33.x86_64
cpp.x86_64
elfutils-libelf.i386
elfutils-libelf.x86_64
gcc-c++.x86_64
gcc.x86_64
glibc-devel.i386
glibc-devel.x86_64
glibc-headers.x86_64
glibc.i686
glibc.x86_64
ksh.x86_64
libaio-devel.i386
libaio-devel.x86_64
libaio.i386
libaio.i386
libaio.x86_64
libaio.x86_64
libstdc++.i386
libstdc++.x86_64
make.x86_64
setarch.x86_64
sysstat.x86_64

once everything is ready, you will be done with installation….

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 )

Google photo

You are commenting using your Google 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 )

Connecting to %s

 
%d bloggers like this: