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

During provisioning of fusion applications installation, I got following error:

Error:  OPatch could not find OUI based inventory in the Oracle Home. But, OUI location is provided using ‘oui_loc’ option. Please check the inventory of the Oracle Home and run OPatch again.

When I tried to involve the opatch lsinventory manually, I got following error:

OPatch detects the Middleware Home as “/IDM/app/oracle/product/fmw”

List of Homes on this system:

Home name= OH1963454048, Location= “/u01/fusionapps/fusionapps/applications”
Home name= OH56852945, Location= “/u01/fusionapps/fusionapps/oracle_common”
Home name= OH2092127320, Location= “/u01/fusionapps/fusionapps/soa”
Home name= OH2092141134, Location= “/u01/fusionapps/fusionapps/ecm”
Home name= OH2133438324, Location= “/u01/fusionapps/fusionapps/webcenter”
Home name= OH506125075, Location= “/u01/fusionapps/fusionapps/atgpf”
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

Solution:  Your db Oracle_Home is not registered in the central inventory, so try to register it with following below steps:

% cd $ORACLE_HOME/oui/bin
% ./

It will register the Oracle Home to the Central inventory, then try for “./opatch lsinventory”, it will be successful.

Nagulu Polagani

"We are all apprentices in a craft where no one ever becomes a master."

Latest posts by Nagulu Polagani (see all)