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 10.2.0.1 and laterInformation in this document applies to any platform.
Symptoms
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
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
Cause
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
Symptoms |
Cause |
Solution |
References |