My Oracle Support Banner

OPatch Fails With "LsInventorySession failed: OracleHomeInventory gets null oracleHomeInfo" (Doc ID 728417.1)

Last updated on FEBRUARY 14, 2022

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


To view full details, sign in with your My Oracle Support account.

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

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.