My Oracle Support Banner

opatch lsinventory Command Fails with the Error "OPatch Exception while accessing O2O" and "Can not get details for given Oracle Home" (Doc ID 2384804.1)

Last updated on MARCH 12, 2021

Applies to:

Oracle Fusion Middleware - Version and later
Information in this document applies to any platform.


While running opatch lsinventory command it fails with the error "OPatch Exception while accessing O2O"

opatch lsinventory
Oracle Home : ORACLE_HOME
Oracle Home Inventory : ORACLE_HOME\inventory
Central Inventory : C:\Program Files (x86)\oracle\inventory
from : N/A
OUI location : ORACLE_HOME\oui
OUI shared library : ORACLE_HOME\oui\lib\win32\oraInstaller.dll
Java location : "ORACLE_HOME\jdk\jre\bin\java.exe"
Log file location : ORACLE_HOME/.patch_storage/patch ID/*.log
Creating log file "ORACLE_HOME\.patch_storage\LsInventory__03-14-2018_17-35-14.log"
LsInventory: OPatch Exception while accessing O2O
OPATCH_JAVA_ERROR : An exception of type "OPatchException" has occurred:
OPatch Exception:
OUI found no such ORACLE_HOME set in the environment
Can not get details for given Oracle Home
An exception occurs
There is no Interim Patch
OPATCH_JAVA_ERROR : An exception of type "OPatchException" has occurred:
Can not get a list of inventory on this home.
ERROR: OPatch failed because of Inventory problem.
OPatch returns with error code = 100


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.