Add the following line to /home/oracle/.bashrc near the bottom:
export LD_ASSUME_KERNEL=2.4.1Install Compatibility Packages
The Apache web server that comes with Oracle 9i requires Berkeley DB version 3. Redhat 9 comes with Berkeley DB version 4. However, there is a compatibility RPM available:
compat-db-3.3.11-4.i386.rpm
You can download it from rpmfind and install it using rpm -i as root.
Some versions of Redhat 9 came with the following glibc RPM:
glibc-2.3.2-5.i386.rpm
Others came with:
glibc-2.3.2-11.9.i386.rpm
The first one works but the second one is broken.
If you have run up2date (or apt-get upgrade if you're using apt) then it is likely that even if you once had a working glibc, you no longer do.
To assure that Oracle will install and run, download and install libctypefixup using the following commands (as root).
tar xf libctypefixup-1.0.tar.gz
cd libctypefixup-1.0
make
make install
Now, log in as the oracle user.
Since Oracle 9.2.0 uses a graphical installer, you need to be running X Windows or point the DISPLAY environment variable to an X Windows session running somewhere.
I have had problems with the graphical installer on enlightenment and fluxbox window managers in the past, though they may work for you.
If you have a CD, mount it and cd to the mount point. If you have a cpio distribution, extract all three files using:
cpio -idmv < lnx_920_disk1.cpioChange directories to the Disk1 directory.
cpio -idmv < lnx_920_disk2.cpio
cpio -idmv < lnx_920_disk3.cpio
Error in invoking target install of makefileedit /u01/app/oracle/product/9.2.0/network/lib/env_oemagent.mk and change:
/u01/app/oracle/product/9.2.0/network/lib/ins_oemagent.mk
LDLIBS=$(EXPDLIBS) $(EXOSLIBS) $(SYSLIBS) $(EXSYSLIBS) $(MATHLIB) $(USRLIBS)to:
LDLIBS=$(EXPDLIBS) $(EXOSLIBS) $(SYSLIBS) $(EXSYSLIBS) $(MATHLIB) $(USRLIBS) -lctypefixupthen click Retry
Error in invoking target install of makefileedit /u01/app/oracle/product/9.2.0/ctx/lib/ins_ctx.mk and change:
/u01/app/oracle/product/9.2.0/ctx/lib/ins_ctx.mk
ctxhx: $(CTXHXOBJ) $(LINK) $(CTXHXOBJ) $(INSO_LINK)to:
ctxhx: $(CTXHXOBJ) $(LINK) $(CTXHXOBJ) $(INSO_LINK) -ldlthen click Retry
At the end of the installation, a dialog will pop up asking you to run
root.sh. Just follow the directions on the dialog and click Ok
On the Configuration Tools screen, the Database Creation Assistant
will run and a dialog will most likely pop up, indicating that it failed.
In that case, click Ok on the dialog and, run the following command as root:
touch /etc/rac_onNow select Oracle Database Configuration Assistant And click Retry
kill `ps -efa | grep "JDBC_PROTOCOL=thin" | cut -c10-15`When the Database Creation Assistant is finished (or killed), click Next.
In some cases, dbstart and dbshut don't work after installation. To ensure that they will work, you need to run the following command:
cp /u01/app/oracle/admin/ora1/pfile/initora1.ora.* /u01/app/oracle/product/9.2.0/dbs/initora1.ora