dbaXchange.com


Database Resources
- RDBMS Server
-
Database Administration
-
Performance Tuning
-
Backup and Recovery
-
Oracle Utilities

-
SQL and PLSQL
-
Network Administration
-
Client Applications
-
Miscellaneous Stuff

Oracle's technology Sites

http://technet.oracle.com

http://metalink.oracle.com

http://asktom.oracle.com/

http://www.oramag.com


Search this site or the web


Site search Web search powered by FreeFind



 

Category     : Database Resources -> RDBMS Server

DB Version  : Oracle 8i

OS Details    : Linux RedHat 9

 

In order to install the oracle8i software on a machine with linux redhat 9 software in it, we had to fight a few battles and put down some fires especially when it was time for the installer to do software linking.  These were some of the things that we had to do to get it to work:

(1) Make sure the following environment variables are set within the .profile file when using Korn shell:

# The LD_ASSUME_KERNEL is set to make sure that old "Linuxthreads with floating stacks" implementation will be used

LD_ASSUME_KERNEL = 2.4.1  

# In order to get the JVM to run the oracle installer without problems, THREAD_FLAG variable need to be changed from its original value of "green"

THREADS_FLAG = native

(2) Oracle 8i is not compile/link time compatible with glibc 2.2. Have your linux administrator to get you the following library files : i386-glibc-2.1-linux.tar.gz

Pass these Instructions on installing the glibc 2.1 SDK to your linux administrator :

(a)  Make gcc, cc and ld from the glibc 2.1 SDK available for the Oracle
installer:

cd /
tar xfz ..../i386-glibc-2.1-linux.tar.gz

(b) Hide gcc, cc and ld under /usr/bin so that the Oracle installer
won't pick it up by accident with

# gcc ...
# cc ...
# ld ...

Do

cd /usr/bin
mkdir saved
mv gcc cc ld saved
ln -s /usr/i386-glibc-2.1-linux/bin/i386-glibc21-linux-gcc gcc
ln -s gcc cc
ln -s /usr/i386-glibc-2.1-linux/bin/i386-glibc21-linux-ld ld

(c) Hide libc.so, libdl.so, libm.so and libpthread.so under /usr/lib so
that the Oracle installer won't pick it up by accident

# gcc -L/usr/lib ...

since -L/usr/lib tells gcc to search /usr/lib first. Neither -L/usr/lib
nor -L/lib are needed under Linux. Do

cd /usr/lib
mkdir saved
mv libc.so libdl.so libm.so libpthread.so saved
mv libc.a libdl.a libm.a libpthread.a saved

 

(3) You can now run the Oracle 8i installler and have it install and link all of the oracle executables.

(4) Once the installation and linking has been completed, have the linux admin put back the original glibc files as follows:

(a) Restore /usr/bin:

cd /usr/bin
rm -f gcc cc ld
cd /usr/bin/saved
mv * ..
cd ..
rm -rf saved

(b) Restore /usr/lib:

cd /usr/lib/saved
mv * ..
cd ..
rm -rf saved