Wednesday, November 28, 2012

OPatch

/opt/oracle/fmw11_1_1_5/oracle_common/OPatch/opatch lsinventory

OPatch cannot find a valid oraInst.loc file to locate Central Inventory.


/opt/oracle/fmw11_1_1_5/oracle_common/OPatch/opatch lsinventory -invPtrLoc /opt/oracle/fmw11_1_1_5/oraInst.loc

Invoking OPatch 11.1.0.8.2

Oracle Interim Patch Installer version 11.1.0.8.2
Copyright (c) 2010, Oracle Corporation.  All rights reserved.


Oracle Home       : /opt/oracle/fmw11_1_1_5/oracle_common
Central Inventory : /opt/oracle/orainventory
   from           : /opt/oracle/fmw11_1_1_5/oraInst.loc
OPatch version    : 11.1.0.8.2
OUI version       : 11.1.0.9.0
OUI location      : /opt/oracle/fmw11_1_1_5/oracle_common/oui
Log file location : /opt/oracle/fmw11_1_1_5/oracle_common/cfgtoollogs/opatch/opatch2012-11-28_18-58-45PM.log

Patch history file: /opt/oracle/fmw11_1_1_5/oracle_common/cfgtoollogs/opatch/opatch_history.txt


OPatch detects the Middleware Home as "/opt/oracle/fmw11_1_1_5"

Lsinventory Output file location : /opt/oracle/fmw11_1_1_5/oracle_common/cfgtoollogs/opatch/lsinv/lsinventory2012-11-28_18-58-45PM.txt

--------------------------------------------------------------------------------
Installed Top-level Products (1):

Oracle AS Common Toplevel Component                                  11.1.1.2.0
There are 1 products installed in this Oracle Home.


There are no Interim patches installed in this Oracle Home.


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

OPatch succeeded.








export MW_HOME=/opt/oracle/fmw11_1_1_5/
export ORACLE_HOME=/opt/oracle/fmw11_1_1_5/osb
export JDK_HOME=/opt/oracle/java

/opt/oracle/fmw11_1_1_5/oracle_common/OPatch/opatch apply -jdk /opt/oracle/java/ -invPtrLoc /opt/oracle/fmw11_1_1_5/oraInst.loc
Invoking OPatch 11.1.0.8.2

Oracle Interim Patch Installer version 11.1.0.8.2
Copyright (c) 2010, Oracle Corporation.  All rights reserved.


Oracle Home       : /opt/oracle/fmw11_1_1_5/osb
Central Inventory : /opt/oracle/orainventory
   from           : /opt/oracle/fmw11_1_1_5/oraInst.loc
OPatch version    : 11.1.0.8.2
OUI version       : 11.1.0.9.0
OUI location      : /opt/oracle/fmw11_1_1_5/osb/oui
Log file location : /opt/oracle/fmw11_1_1_5/osb/cfgtoollogs/opatch/opatch2012-11-28_19-23-38PM.log

Patch history file: /opt/oracle/fmw11_1_1_5/osb/cfgtoollogs/opatch/opatch_history.txt


OPatch detects the Middleware Home as "/opt/oracle/fmw11_1_1_5"

ApplySession applying interim patch '12747853' to OH '/opt/oracle/fmw11_1_1_5/osb'

Running prerequisite checks...

OPatch detected non-cluster Oracle Home from the inventory and will patch the local system only.


Please shutdown Oracle instances running out of this ORACLE_HOME on the local system.
(Oracle Home = '/opt/oracle/fmw11_1_1_5/osb')


Is the local system ready for patching? [y|n]
y
User Responded with: Y
Backing up files and inventory (not for auto-rollback) for the Oracle Home
Backing up files affected by the patch '12747853' for restore. This might take a while...
Backing up files affected by the patch '12747853' for rollback. This might take a while...

Patching component oracle.osb.top, 11.1.1.5.0...
Updating jar file "/opt/oracle/fmw11_1_1_5/osb/lib/transports/jcatransport.ear" with "/lib/transports/jcatransport.ear/APP-INF/lib/jcatransport.jar/com/bea/wli/sb/transports/jca/JCATransportAppListener.class"
Updating jar file "/opt/oracle/fmw11_1_1_5/osb/lib/transports/jcatransport.jar" with "/lib/transports/jcatransport.jar/com/bea/wli/sb/transports/jca/JCATransportAppListener.class"
ApplySession adding interim patch '12747853' to inventory

Verifying the update...
Inventory check OK: Patch ID 12747853 is registered in Oracle Home inventory with proper meta-data.
Files check OK: Files from Patch ID 12747853 are present in Oracle Home.

The local system has been patched and can be restarted.



No comments: