My Oracle OPatch Certification question

Here is my Certification question regarding Oracle patching with opatch.

Based on the exhibit below, what is the correct command to install this patch?

1. /oracle/11.2.0.3/db/OPatch/opatch napply /oracle/stage/ -local -oh /oracle/11.2.0.3/db -id 13440962
2. /oracle/11.2.0.3/db/OPatch/opatch napply -oh /oracle/11.2.0.3/db -local /oracle/stage/13440962/custom/server/13440962
3. /oracle/11.2.0.3/db/OPatch/opatch napply /oracle/stage/13440962 -local -oh /oracle/11.2.0.3/db -id 13440962
4. /oracle/11.2.0.3/db/OPatch/opatch napply -oh /oracle/11.2.0.3/db -local /oracle/stage/13440962

Exhibit

#    As the RDBMS software owner,
#    from the directory where the patch was unzipped;
#
#    % opatch napply custom/server/ -local -oh <RDBMS_HOME> -id 13440962

And your answer is:

2. /oracle/11.2.0.3/db/OPatch/opatch napply -oh /oracle/11.2.0.3/db -local /oracle/stage/13440962/custom/server/13440962

Yes, you have to pick the answer that Oracle believes is best, and in this case, the correct answer was 2.

In case you didn’t find my little attempt at fun above very helpful, be aware that the instructions on this patch don’t work. Hopefully if you’re encountering this error on this patch or another this will help you get past it.

Below, I have the errors I received when trying to install this patch based on the instructions.

First attempt:

->/oracle/11.2.0.3/db/OPatch/opatch napply /oracle/stage/ -local -oh /oracle/11.2.0.3/db -id 13440962

Invoking OPatch 11.2.0.1.7

Oracle Interim Patch Installer version 11.2.0.1.7
Copyright (c) 2011, Oracle Corporation.  All rights reserved.
UTIL session

Oracle Home       : /oracle/11.2.0.3/db
Central Inventory : /oracle/oraInventory
   from           : /etc/oraInst.loc
OPatch version    : 11.2.0.1.7
OUI version       : 11.2.0.3.0
Log file location : /oracle/11.2.0.3/db/cfgtoollogs/opatch/opatch2012-09-04_16-25-26PM.log

Verifying environment and performing prerequisite checks...
UtilSession failed: Unzip failied
Log file location: /oracle/11.2.0.3/db/cfgtoollogs/opatch/opatch2012-09-04_16-25-26PM.log

OPatch failed with error code 73

so tried RDBMs incuding the patch directory after “napply”, but got a different error – second attempt:

 (oracle) flux-rac-node-ch2-01:rdvrprd_1:/oracle/stage/13440962
 ->/oracle/11.2.0.3/db/OPatch/opatch napply /oracle/stage/13440962 -local -oh /oracle/11.2.0.3/db -id 13440962
Invoking OPatch 11.2.0.1.7

Oracle Interim Patch Installer version 11.2.0.1.7
Copyright (c) 2011, Oracle Corporation.  All rights reserved.
UTIL session

Oracle Home       : /oracle/11.2.0.3/db
Central Inventory : /oracle/oraInventory
   from           : /etc/oraInst.loc
OPatch version    : 11.2.0.1.7
OUI version       : 11.2.0.3.0
Log file location : /oracle/11.2.0.3/db/cfgtoollogs/opatch/opatch2012-09-04_16-41-22PM.log

Verifying environment and performing prerequisite checks...

UtilSession failed: Patch 13440962 requires component(s) that are not installed in OracleHome. These not-installed components are oracle.crs:11.2.0.3.0,

Log file location: /oracle/11.2.0.3/db/cfgtoollogs/opatch/opatch2012-09-04_16-41-22PM.log

OPatch failed with error code 73

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s