Posts Tagged ‘RHEL5’

In these days I had to install Oracle 9i (a new version … don’t think so ..) on a RHEL 5 Advanced Platform and after some troubles all works good.

The followings is the steps for a correct setup.

Here we go (skipped basic steps as user creation, standard kernel params and limits settings):

1. Check for required packages:

rpm -q compat-db compat-gcc-34 compat-gcc-34-c++ compat-libgcc-296 compat-libstdc++-296
and
rpm -q compat-libstdc++-33 gcc gcc-c++ glibc glibc-common glibc-devel glibc-headers libgcc make libXp

2. Set environment
ORACLE_BASE=/opt/oracle
ORACLE_HOME=$ORACLE_BASE/920
ORACLE_SID=ORCL
LD_LIBRARY_PATH=$ORACLE_HOME/lib
PATH=$PATH:$ORACLE_HOME/binexport ORACLE_BASE ORACLE_HOME ORACLE_SID LD_LIBRARY_PATH

2. Workaround #1

su -
cd /usr/lib
ln -s libstdc++-3-libc6.2-2-2.10.0.so libstdc++-libc6.1-1.so.2

3. Download and Install:

compat-libcwait-2.1-1.i386.rpm

compat-oracle-rhel4-1.0-5.i386.rpm

rpm -Uvh compat-libcwait-2.1-1.i386.rpm

rpm -Uvh compat-oracle-rhel4-1.0-5.i386.rpm –nodeps

4. Workaround #2

su -
cd /usr/bin
ln -s gcc34 gcc32

5. Workaround #3
su -
cd /usr/lib
ln -s libgdbm.so.2.0.0 libdb.so.2

6. runInstaller

7. When NETCA/DBCA will fail

8. Workaround #4
I suggest to apply 9.2.0.8 patchset before.

cd $ORACLE_HOME
rm JRE
ln -s $ORACLE_BASE/jre/1.3.1 JRE
cd JRE/bin
ln -s java jre
cd i386/native_threads/
ln -s java jre

Hope this help someone to avoid waste my same time.
Bye
Riccardo

Print This Post Print This Post
Contacts
Look at me at Linkedin Follow me on Twitter
My Flickr Albums My Facebook profile My YouTube Videos
SkypeMe My Linux Counter GMail me
Search
Google Search
Categories
Tag Cloud 3D
FeedBurner RSS

Visitors
Locations of visitors to this page
VMware related Blogs
The following are Blog sites with feeds I personally follow. When I'll have some spare time I will complete all Feed and Twitter links.