OPatch Fails With "LsInventorySession failed: OracleHomeInventory gets null oracleHomeInfo"
Last updated on MAY 28, 2018
Applies to:Oracle Universal Installer - Version 10.2.0.1 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:
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