Wednesday, November 24, 2010

Oracle: Opatch

Correct the oraInventory path in oraInst.loc file
$\> opatch apply -invPtrLoc

Debug the Run:
$\> opatch lsinventory OPATCH_DEBUG=TRUE

Register/Attach the OracleHome information to the existing Central Inventory using following command
$\> ./runInstaller -silent -attachHome ORACLE_HOME=$ORACLE_HOME ORACLE_HOME_NAME=""

To get all OracleHomes registered in the Central Inventory. Which should include your OracleHome as one of the entry
$ORACLE_HOME/OPatch/opatch lsinventory -all

To get all installed components in the OracleHome set in the environment
$ORACLE_HOME/OPatch/opatch lsinventory -detail

To get detailed log of the actions that occur during the pre-cloning and cloning operations.
$ORACLE_HOME/clone/logs/clone timestamp.log

To get information about errors that occur during the pre-cloning and cloning operations.
$ORACLE_HOME/clone/logs/error timestamp.log

To get Latest OPatch
Check for Patch 6880880