Ce contenu n'est pas disponible dans la langue sélectionnée.
35.2. Patching Oracle9i to 9.2.0.4.0 on Red Hat Enterprise Linux 3
To patch Oracle9i R2, download the Oracle9i Release 2 Patch Set 3 Version 9.2.0.4.0 for Linux x86 from http://metalink.oracle.com. Download the
p3095277_9204_LINUX.zip
file to /tmp
and run the following command:
su - oracle $ cp p3095277_9204_LINUX.zip /tmp $ cd /tmp $ unzip p3095277_9204_LINUX.zip Archive: p3095277_9204_LINUX.zip inflating: 9204_lnx32_release.cpio inflating: README.html inflating: patchnote.css $ $ cpio -idmv < 9204_lnx32_release.cpio Disk1/stage/locks Disk1/stage/Patches/oracle.apache.isqlplus/9.2.0.4.0/1/DataFiles/bin.1.1.jar Disk1/stage/Patches/oracle.apache.isqlplus/9.2.0.4.0/1/DataFiles/lib.1.1.jar ...
To patch the
runInstaller
, execute:
su - oracle $ echo $LD_ASSUME_KERNEL # it is important that this variable is set! 2.4.1 $ cd /tmp/Disk1/ $ ./runInstaller
- Welcome Screen: Click
- File Locations: Use default values
- Available Products: Select "Oracle Universal Installer 2.2.0.18.0"
- Components Locations: Accept default values and click
- Summary: Start the Install
- At the end of the installation, you must exit
runInstaller
To patch Oracle9i R2, execute:
su - oracle $ echo $LD_ASSUME_KERNEL # it is important that this variable is set! 2.4.1 $ cd $ORACLE_HOME/bin $ ./runInstaller
- Welcome Screen: Click
- File Locations: Use default values
- Available Products: Select "Oracle9iR2 Patch Set 3 9.2.0.4.0 !"
- Summary: Start the Install
- At the end of the installation, exit
runInstaller
You may get the error: "Error in invoking target install of
makefile /u01/app/oracle/product/9.2.0/network/lib/ins_oemagent.mk
".
The
/u01/app/oracle/product/9.2.0/install/make.log
file reads:
/u01/app/oracle/product/9.2.0/network/lib/libnmi.a(snmitcl.o)(.text+0x1cc): In function `get_ora_stmt_handle': : undefined reference to `__ctype_b' /u01/app/oracle/product/9.2.0/network/lib/libnmi.a(snmitcl.o)(.text+0x124e): In function `OraProcess_Oid': : undefined reference to `__ctype_b' /u01/app/oracle/product/9.2.0/network/lib/libnmi.a(snmitcl.o)(.text+0x176c): more undefined references to `__ctype_b' follow collect2: ld returned 1 exit status make: *** [dbsnmp] Error 1
Click ignore. This will be fixed by applying the patch 3119415 after the 9.2.0.4 patchset has been applied. The patch 3119415 cannot be applied while the patch process for the 9.2.0.4 patchset is running.
After the 9.2.0.4 patchset has been applied, download the patch
p3119415_9204_LINUX.zip
from http://metalink.oracle.com. See bug 3119415 for more information. Also, download the opatch Release 2.2.0 utility from http://metalink.oracle.com. See bug 2617419 at http://metalink.oracle.com for more information.
To install
opatch
, run:
su - oracle $ cp p2617419_210_GENERIC.zip /tmp $ cd /tmp $ unzip p2617419_210_GENERIC.zip
Before you apply the 3119415 patch, you need to make sure the fuser binary can be found by the oracle user, see the
PATH
environment variable below. Otherwise the patch can not be applied because the fuser
binary is used by opatch
. To apply the 3119415 patch, run:
su - oracle $ unzip p3119415_9204_LINUX.zip $ cd 3119415 $ export PATH=$PATH:/tmp/OPatch $ export PATH=$PATH:/sbin # the patch needs "fuser" which is located in /sbin $ which opatch /tmp/OPatch/opatch $ opatch apply
Now you should be able to create a database with dbca:
$ su - oracle $ dbca