Oracle 9i requires that you at least temporarily increase the maximum shared memory segment size for installation. To temporarily increase the maximum shared memory segment size, follow these instructions (as root):
echo "1073741824" > /proc/sys/kernel/shmmaxSet Up the Environment
Add the following line to /home/oracle/.bashrc near the bottom:
export LD_ASSUME_KERNEL=2.4.1Install Compatibility Packages
One phase of the installation requires gcc version 2.95.3. Suse 9.0 comes with gcc version 3.3.1. You can take care of this by downloading, compiling and installing gcc-2.95.3.
First, download gcc-2.95.3.tar.gz from ftp.gnu.org. Then follow these instructions (as root) to build and install gcc-2.95.3 under /usr/local/gcc-2.95.3.
tar xfz gcc-2.95.3.tar.gz
cd gcc-2.95.3
./configure --prefix=/usr/local/gcc-2.95.3
make
make install
After the Oracle installation is complete, you can remove the gcc installation as follows:
rm -rf /usr/local/gcc-2.95.3Install Oracle
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 ioracle of makefileedit /u01/app/oracle/product/9.2.0/rdbms/lib/env_rdbms.mk and change:
/u01/app/oracle/product/9.2.0/rdbms/lib/ins_rdbms.mk
LINK=$(PURECMDS) gcc $(LDFLAGS) $(COMPSOBJS)to:
LINK=$(PURECMDS) /usr/local/gcc-2.95.3/bin/gcc $(LDFLAGS) $(COMPSOBJS)and change:
ORACLE_LINKER=$(ADE_DEL_FILE_CMD) $(PURECMDS) gcc $(OLAPPRELINKOPTS) $(LDFLAGS) $(COMPSOBJS)to:
ORACLE_LINKER=$(ADE_DEL_FILE_CMD) $(PURECMDS) /usr/local/gcc-2.95.3/bin/gcc $(OLAPPRELINKOPTS) $(LDFLAGS) $(COMPSOBJS)then click Retry
Error in invoking target install of makefileClick Ignore. There is no known workaround for this problem and the affected system doesn't appear to be critical.
/u01/app/oracle/product/9.2.0/ctx/lib/ins_ctx.mk
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.oraPost-Installation
During the installation, the oracle web server was started. You can shut it down by executing the following command (as oracle):
/u01/app/oracle/product/9.2.0/Apache/Apache/bin/apachectl stop
At this point, only the database and tns listener should be running.