Tuesday, June 14, 2011

OPatch failed with error code 73


 

Issue:

Inventory load failed... OPatch cannot load inventory for the given Oracle Home.

lsinventorySession failed: Unable to create patchObject

OPatch failed with error code 73


 

Solution:

Please make sure that the following files exist:

$ORACLE_BASE/oraInventory/ContentsXML/inventory.xml
$ORACLE_HOME/inventory//ContentsXML/comps.xml
$ORACLE_HOME/inventory/ContentsXML/oraclehomeproperties.xml

There could be three causes for the issue:

  • OPatch utility is old, you need to use the latest OPatch utility for the specific release. Utility can be downloaded from https://updates.oracle.com/download/6880880.html.
    To install this patch simply extract the file "zipped file" using unzip or winzip, depending upon the platform. You should extract the zip file directly under the ORACLE_HOME.

  • Your oraInst.loc is pointing to a wrong destination, please make sure that oraInst.loc is pointing to the destination where the specific product inventory is located.
  • Your Oracle inventory is corrupt, to fix this please follow as below:

The solution is to recreate the central inventory.

#cd $ORACLE_HOME/oui/bin 

# ./runInstaller -silent -attachHome ORACLE_HOME=$ORACLE_HOME ORACLE_HOME_NAME="<Name_Of_The_Oracle_Home>"

Note : Please replace <Name_Of_The_Oracle_Home> with the name that you want to give this OracleHome. (Reference: 864117.1)

No comments:

Post a Comment

Post a Comment