Red Hat Training

A Red Hat training course is available for Red Hat Enterprise Linux

36.2. Patching Oracle9i R2 to 9.2.0.6.0 on Red Hat Enterprise Linux 4

Download the patch 3948480, Oracle9i Patch Set Release 2 (9.2.0.6) Patch Set 5, from http://metalink.oracle.com and execute the following commands to extract it:
su - oracle
$ cp p3948480_9206_LINUX.zip /tmp
$ cd /tmp
$ unzip p3948480_9206_LINUX.zip
Archive:  p3948480_9206_LINUX.zip
creating: Disk1/
creating: Disk1/stage/
creating: Disk1/stage/Patches/
...
Now download the patch 4188455 from http://metalink.oracle.com. This patch is needed for launching the runInstaller that came with the patch 3948480 we just downloaded above.
su - oracle
$ cp p4188455_10103_LINUX.zip /tmp
$ cd /tmp
$ unzip p4188455_10103_LINUX.zip
Archive:  p4188455_10103_LINUX.zip
inflating: oraparam.ini
inflating: README.txt
$
The /tmp/oraparam.ini file will now be used for launching the runInstaller that came with the patch 3948480.
To patch the runInstaller application, run:
su - oracle
$ echo $LD_ASSUME_KERNEL
2.4.19
$ /tmp/Disk1/install/runInstaller   - paramFile  /tmp/oraparam.ini
- Welcome Screen: Click Next
- File Locations: Use default values (in this example: /tmp/Disk1/stage/products.xml)
- Available Products: Select "Oracle Universal Installer 10.1.0.3.0"
- Summary: Click Install
- At the end of the installation, you must exit runInstaller
Ensure that no Oracle processes are running:
ps -ef | grep ora
Now patch Oracle9i R2:
su - oracle
$ echo $LD_ASSUME_KERNEL    # it is important that this variable is set!
2.4.19
$ /tmp/Disk1/install/runInstaller -paramFile /tmp/oraparam.ini
- Welcome Screen: Click Next
- File Locations: Use default values (in this example: /tmp/Disk1/stage/products.xml)
- Available Products: Select "Oracle 9iR2 Patchset 9.2.0.6.0"
- Summary: Click Install
When you are asked to run root.sh, run it before you click Continue
- At the end of the installation, exit runInstaller.
After the 9.2.0.6 patchset has been applied, download the patch 4190568 from http://metalink.oracle.com. Download the opatch utility for release 10.1.0.2 (patch 2617419) from http://metalink.oracle.com.
To install opatch, run:
su - oracle
$ cp p2617419_10102_GENERIC.zip /tmp
$ cd /tmp
$ unzip p2617419_10102_GENERIC.zip
$ cp -a /tmp/OPatch/ $ORACLE_HOME
To apply the 4190568 patch, run
su - oracle
$ unzip p4190568_9206_LINUX.zip
$ cd 4193454
$ export PATH=$PATH:$ORACLE_HOME/OPatch
$ opatch apply
If you intend to use Direct I/O Support, you must also download and apply patch 2448994.
Now you should be able to create a database with dbca:
$ su - oracle
$ dbca
If dbca dies on the system with the following error:
/u01/app/oracle/product/9.2.0/bin/dbca: line 124: 26649 Segmentation fault      
$JRE_DIR/bin/jre -DORACLE_HOME=$OH -DJDBC_PROTOCOL=thin -mx64m -classpath $CLASSPATH oracle.sysman.assistants.dbca.Dbca $ARGUMENTS
You can execute the following command:
su - root
touch /etc/rac_on
Now you can restart the process to get dbca to work.