Problem :
oraesev1@tsgsd4903 $ ./opatch lsinventory
Invoking OPatch 10.2.0.5.1
Oracle Interim Patch Installer version 10.2.0.5.1
Copyright (c) 2010, Oracle Corporation. All rights reserved.
Oracle Home : /erpesev1/oracle/10.2.0
Central Inventory : /erpesev1/oracle/10.2.0/oraInventory
from : /var/opt/oracle/oraInst.loc
OPatch version : 10.2.0.5.1
OUI version : 10.2.0.5.0
OUI location : /erpesev1/oracle/10.2.0/oui
Log file location : /erpesev1/oracle/10.2.0/cfgtoollogs/opatch/opatch2012-03-26_04-03-06AM.log
Patch history file: /erpesev1/oracle/10.2.0/cfgtoollogs/opatch/opatch_history.txt
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
enable opatch debug :
export OPATCH_DEBUG='TRUE'
opatch lsinventory
PatchObject(oracleHomePath,patchID)
PatchObject::PatchObject looks for the actions file /erpesev1/oracle/10.2.0/inventory/oneoffs/6708377/etc/config/actions.xml
PatchObject::PatchObject looks for the inventory file /erpesev1/oracle/10.2.0/inventory/oneoffs/6708377/etc/config/inventory.xml
PatchObject::PatchObject now looks for the actions file /erpesev1/oracle/10.2.0/inventory/oneoffs/6708377/etc/config/actions
PatchObject::PatchObject now looks for the inventory file /erpesev1/oracle/10.2.0/inventory/oneoffs/6708377/etc/config/inventory
Loading the information from inventory/filemap.
Inventory load failed... OPatch cannot load inventory for the given Oracle Home.
Directories under inventory/oneoffs are missing
1) If you are cloning the directories must have been missed. Bring the directories from source
2) You can download the patches and copy the etc/config directory from the patch to oneoff
3) Not recommended : You can remove the ONEOFF entries from $ORACLE_HOME/inventory/ContentsXML/comps.xml file.
4) Rebuild the home (Reisntall and apply latest CPU)
No comments:
Post a Comment