Friday 27 March 2015

OPATCH FAILED WITH ERROR CODE 73









SQL> select name,open_mode from v$database;

NAME      OPEN_MODE
--------- --------------------
DOYEYDB  READ WRITE

SQL> shut immediate;
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> exit


==>ls -tlr
total 94688
drwxrwxr-x 15 oracle oinstall     4096 Dec 10 01:42 19769496
-rw-rw-r--  1 oracle oinstall    93056 Jan 20 09:52 PatchSearch.xml
-rw-r--r--  1 oracle oinstall 96857392 Feb 24 12:57 p19769496_112030_Linux-x86-64.zip

==>cd 19769496/

dbcpblkdev01*DOYENDB-/home/oracle/Patches/19769496
==>ls -trlr
total 112
drwxrwxr-x 4 oracle oinstall  4096 Dec 10 01:41 18522512
drwxrwxr-x 4 oracle oinstall  4096 Dec 10 01:41 16902043
drwxrwxr-x 4 oracle oinstall  4096 Dec 10 01:41 14275605
drwxrwxr-x 4 oracle oinstall  4096 Dec 10 01:41 16619892
drwxrwxr-x 4 oracle oinstall  4096 Dec 10 01:41 13696216
drwxrwxr-x 5 oracle oinstall  4096 Dec 10 01:41 17540582
drwxrwxr-x 4 oracle oinstall  4096 Dec 10 01:41 13923374
drwxrwxr-x 4 oracle oinstall  4096 Dec 10 01:41 16056266
drwxrwxr-x 4 oracle oinstall  4096 Dec 10 01:41 18031683
drwxrwxr-x 4 oracle oinstall  4096 Dec 10 01:41 19121548
drwxrwxr-x 4 oracle oinstall  4096 Dec 10 01:41 19769496
drwxr-xr-x 4 oracle oinstall  4096 Dec 10 01:41 13343438
drwxrwxr-x 5 oracle oinstall  4096 Dec 10 01:41 14727310
-rw-r--r-- 1 oracle oinstall    21 Dec 10 01:41 README.txt
-rw-r--r-- 1 oracle oinstall  2872 Dec 10 01:42 patchmd.xml
-rw-rw-r-- 1 oracle oinstall 51692 Jan 17 11:30 README.html





PreCheck:

==>opatch prereq CheckConflictAgainstOHWithDetail -ph ./
Oracle Interim Patch Installer version 11.2.0.3.0
Copyright (c) 2012, Oracle Corporation.  All rights reserved.

PREREQ session

Oracle Home       : /u01/oracle/app/oracle/product/DOYENDB/11.2.3
Central Inventory : /u01/oracle/oraInventory
   from           : /u01/oracle/app/oracle/product/DOYENDB/11.2.3/oraInst.loc
OPatch version    : 11.2.0.3.0
OUI version       : 11.2.0.3.0
Log file location : /u01/oracle/app/oracle/product/DOYENDB/11.2.3/cfgtoollogs/opatch/opatch2015-02-24_13-14-48PM_1.log

Invoking prereq "checkconflictagainstohwithdetail"

Prereq "checkConflictAgainstOHWithDetail" passed.

OPatch succeeded.

dbcpblkdev01*DOYENDB-/home/oracle/Patches/19769496/19769496

==>opatch apply
Oracle Interim Patch Installer version 11.2.0.3.0
Copyright (c) 2012, Oracle Corporation.  All rights reserved.


Oracle Home       : /u01/oracle/app/oracle/product/DOYENDB/11.2.3
Central Inventory : /u01/oracle/oraInventory
   from           : /u01/oracle/app/oracle/product/DOYENDB/11.2.3/oraInst.loc
OPatch version    : 11.2.0.3.0
OUI version       : 11.2.0.3.0
Log file location : /u01/oracle/app/oracle/product/DOYENDB/11.2.3/cfgtoollogs/opatch/opatch2015-02-24_13-16-53PM_1.log

Verifying environment and performing prerequisite checks...
UtilSession failed: null
Log file location: /u01/oracle/app/oracle/product/DOYENDB/11.2.3/cfgtoollogs/opatch/opatch2015-02-24_13-16-53PM_1.log


OPatch failed with error code 73

dbcpblkdev01*DOYENDB-/home/oracle/Patches/19769496

Error:

OPatch failed with error code 73


  


Solution:



cd /u01/oracle/app/oracle/product/DOYENDB/11.2.3

mv Opatch Opatch_bak

unzip p6880880_112000_Linux-x86-64.zip


cd Patches/19769496

opatch prereq CheckConflictAgainstOHWithDetail -ph ./
Oracle Interim Patch Installer version 11.2.0.3.6
Copyright (c) 2013, Oracle Corporation.  All rights reserved.

PREREQ session

Oracle Home       : /u01/oracle/app/oracle/product/DOYENDB/11.2.3
Central Inventory : /u01/oracle/oraInventory
   from           : /u01/oracle/app/oracle/product/DOYENDB/11.2.3/oraInst.loc
OPatch version    : 11.2.0.3.6
OUI version       : 11.2.0.3.0
Log file location : /u01/oracle/app/oracle/product/DOYENDB/11.2.3/cfgtoollogs/opatch/opatch2015-02-24_15-51-36PM_1.log

Invoking prereq "checkconflictagainstohwithdetail"

Prereq "checkConflictAgainstOHWithDetail" passed.

OPatch succeeded.

==>opatch apply
Oracle Interim Patch Installer version 11.2.0.3.6
Copyright (c) 2013, Oracle Corporation.  All rights reserved.


Oracle Home       : /u01/oracle/app/oracle/product/DOYENDB/11.2.3
Central Inventory : /u01/oracle/oraInventory
   from           : /u01/oracle/app/oracle/product/DOYENDB/11.2.3/oraInst.loc
OPatch version    : 11.2.0.3.6
OUI version       : 11.2.0.3.0
Log file location : /u01/oracle/app/oracle/product/DOYENDB/11.2.3/cfgtoollogs/opatch/opatch2015-02-24_15-52-26PM_1.log

Verifying environment and performing prerequisite checks...
OPatch continues with these patches:   19121548  19769496

Do you want to proceed? [y|n]
Y
User Responded with: Y
All checks passed.

Please shutdown Oracle instances running out of this ORACLE_HOME on the local system.
(Oracle Home = '/u01/oracle/app/oracle/product/DOYENDB/11.2.3')


Is the local system ready for patching? [y|n]
y
User Responded with: Y
Backing up files...
Applying sub-patch '19121548' to OH '/u01/oracle/app/oracle/product/DOYENDB/11.2.3'

Patching component oracle.sysman.console.db, 11.2.0.3.0...

Patching component oracle.rdbms.rsf, 11.2.0.3.0...

Patching component oracle.rdbms.rman, 11.2.0.3.0...

Patching component oracle.rdbms, 11.2.0.3.0...

Patching component oracle.rdbms.dbscripts, 11.2.0.3.0...

Patching component oracle.ordim.client, 11.2.0.3.0...

Patching component oracle.ordim.jai, 11.2.0.3.0...

Verifying the update...
Applying sub-patch '19769496' to OH '/u01/oracle/app/oracle/product/DOYENDB/11.2.3'

Patching component oracle.sysman.agent, 10.2.0.4.3...

Patching component oracle.ovm, 11.2.0.3.0...

Patching component oracle.xdk, 11.2.0.3.0...

Patching component oracle.rdbms.util, 11.2.0.3.0...

Patching component oracle.rdbms, 11.2.0.3.0...

Patching component oracle.rdbms.dbscripts, 11.2.0.3.0...

Patching component oracle.xdk.parser.java, 11.2.0.3.0...

Patching component oracle.oraolap, 11.2.0.3.0...

Patching component oracle.rdbms.rsf, 11.2.0.3.0...

Patching component oracle.xdk.rsf, 11.2.0.3.0...

Verifying the update...

OPatch found the word "warning" in the stderr of the make command.
Please look at this stderr. You can re-run this make command.
Stderr output:
ins_emagent.mk:113: warning: overriding commands for target `nmosudo'
ins_emagent.mk:52: warning: ignoring old commands for target `nmosudo'
/u01/oracle/app/oracle/product/DOYENDB/11.2.3/sysman/lib/ins_emagent.mk:113: warning: overriding commands for target `nmosudo'
/u01/oracle/app/oracle/product/DOYENDB/11.2.3/sysman/lib/ins_emagent.mk:52: warning: ignoring old commands for target `nmosudo'


Composite patch 19769496 successfully applied.
OPatch Session completed with warnings.
Log file location: /u01/oracle/app/oracle/product/DOYENDB/11.2.3/cfgtoollogs/opatch/opatch2015-02-24_15-52-26PM_1.log

OPatch completed with warnings.

dbcpblkdev01*DOYENDB-/home/oracle/Patches/19769496








No comments: