OPatch Fails With "LsInventorySession failed: OracleHomeInventory gets null oracleHomeInfo"

(Doc ID 728417.1)

Last updated on MAY 28, 2018

Applies to:

Oracle Universal Installer - Version and later
Information in this document applies to any platform.


After detaching an ORACLE_HOME from the central inventory, the OPatch commands 'opatch lsinventory' and 'opatch lsinventory -all' report the following error if ORACLE_HOME points to the detached home:

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

If ORACLE_HOME points to a separate attached home, the OPatch commands work.

After re-attaching the home to the central inventory, the OPatch commands work again


Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms