Sei sulla pagina 1di 2

$which opatch

[stgdb501]/backup/software/11.2.0.4_psu_patches/11.2.0.4.160119> ls -ltrh
total 40403
drwxr-xr-x 35 oracle oinstall 38 Dec 17 07:03 21972320/
-rw-rw-r-- 1 oracle oinstall 16K Jan 19 08:12 PatchSearch.xml
-rw-r--r-- 1 oracle oinstall 20M Jan 19 08:12
p21972320_112040_SOLARIS64.zip
[stgdb501]/backup/software/11.2.0.4_psu_patches/11.2.0.4.160119>

Ensure that the $PATH has the following executables: make, ar, ld, and nm
-------------------------------------------------------------------------
[stgdb501]/opt/local/oracle> which make
/usr/local/bin/make
[stgdb501]/opt/local/oracle> which ar
/usr/local/bin/ar
[stgdb501]/opt/local/oracle> which ld
/usr/local/bin/ld
[stgdb501]/opt/local/oracle> which nm
/usr/local/bin/nm
[stgdb501]/opt/local/oracle>

Validate Opatch is 11.2.0.3.4 or Later


--------------------------------------

[stgdb501]/opt/local/oracle> echo $ORACLE_HOME


/u01/app/oracle/product/11.2.0.4/db_1
[stgdb501]/opt/local/oracle> $ORACLE_HOME/OPatch/opatch version
OPatch Version: 11.2.0.3.4

OPatch succeeded.
[stgdb501]/opt/local/oracle>

Check for conflicts or issues:


------------------------------

[stgdb501]/backup/software/11.2.0.4_psu_patches/11.2.0.4.160119/21972320>
$ORACLE_HOME/OPatch/opatch prereq CheckConflictAgainstOHWithDetail
-phBaseDir ./21972320
Oracle Interim Patch Installer version 11.2.0.3.4
Copyright (c) 2012, Oracle Corporation. All rights reserved.

PREREQ session

Oracle Home : /u01/app/oracle/product/11.2.0.4/db_1


Central Inventory : /u01/app/oraInventory
from : /u01/app/oracle/product/11.2.0.4/db_1/oraInst.loc
OPatch version : 11.2.0.3.4
OUI version : 11.2.0.4.0
Log file location :
/u01/app/oracle/product/11.2.0.4/db_1/cfgtoollogs/opatch/opatch2016-02-02_09-18-
14AM_1.log

Invoking prereq "checkconflictagainstohwithdetail"

Prereq "checkConflictAgainstOHWithDetail" passed.

OPatch succeeded.
[stgdb501]/backup/software/11.2.0.4_psu_patches/11.2.0.4.160119/22191659>
***************************12.1.0.2 *******************************

/backup/software/12.1.0.2_psu_patches/12.1.0.2.160119_Bundle/22191659/

Check against Oracle Home:


--------------------------

[stgdb501]/backup/software/12.1.0.2_psu_patches/12.1.0.2.160119_Bundle/22191659>
$ORACLE_HOME/OPatch/opatch prereq CheckConflictAgainstOHWithDetail -ph ./
Oracle Interim Patch Installer version 12.1.0.1.7
Copyright (c) 2016, Oracle Corporation. All rights reserved.

PREREQ session

Oracle Home : /u01/app/oracle/product/12.1.0.2/db_1


Central Inventory : /u01/app/oraInventory
from : /u01/app/oracle/product/12.1.0.2/db_1/oraInst.loc
OPatch version : 12.1.0.1.7
OUI version : 12.1.0.2.0
Log file location :
/u01/app/oracle/product/12.1.0.2/db_1/cfgtoollogs/opatch/opatch2016-02-18_13-47-
04PM_1.log

Invoking prereq "checkconflictagainstohwithdetail"

Prereq "checkConflictAgainstOHWithDetail" passed.

OPatch succeeded.

Potrebbero piacerti anche