[oracle@RAC1 OPatch]$ ./opatch lsinventory
Oracle Interim Patch Installer version 11.2.0.3.5
Copyright (c) 2013, Oracle Corporation. All rights reserved.
Oracle Home : /oracle/db11203
Central Inventory : /grid/oraInventory
from : /oracle/db11203//oraInst.loc
OPatch version : 11.2.0.3.5
OUI version : 11.2.0.3.0
Log file location : /oracle/db11203/cfgtoollogs/opatch/opatch2013-12-04_15-23-56PM_1.log
List of Homes on this system:
Home name= Ora11g_gridinfrahome2, Location= "/grid/11.2.0/grid11203"
Home name= sbin12c2, Location= "/oracle/agent12cr2/sbin"
Home name= agent12c3, Location= "/oracle/agent12cr2/core/12.1.0.2.0"
Home name= OraHome1, Location= "/oracle/agent12cr2/plugins/oracle.sysman.oh.discovery.plugin_12.1.0.2.0"
Home name= OraHome2, Location= "/oracle/agent12cr2/plugins/oracle.sysman.oh.agent.plugin_12.1.0.2.0"
Home name= OraHome3, Location= "/oracle/agent12cr2/plugins/oracle.sysman.db.discovery.plugin_12.1.0.3.0"
Home name= OraHome4, Location= "/oracle/agent12cr2/plugins/oracle.sysman.db.agent.plugin_12.1.0.3.0"
Home name= OraHome5, Location= "/oracle/agent12cr2/plugins/oracle.sysman.emas.discovery.plugin_12.1.0.3.0"
Home name= OraHome6, Location= "/oracle/agent12cr2/plugins/oracle.sysman.xa.discovery.plugin_12.1.0.3.0"
Inventory load failed... OPatch cannot load inventory for the given Oracle Home.
Possible causes are:
Oracle Home dir. path does not exist in Central Inventory
Oracle Home is a symbolic link
Oracle Home inventory is corrupted
LsInventorySession failed: OracleHomeInventory gets null oracleHomeInfo
OPatch failed with error code 73
Solution:
/oracle/db11203/oui/bin/attachHome.sh -local "CLUSTER_NODES={RAC1}" LOCAL_NODE={RAC1}