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 APRIL 24, 2018

Applies to:

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

Symptoms

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

D:\oracle\OID_HOME\OPatch>opatch lsinventory
Oracle Home : D:\oracle\OID_HOME
Oracle Home Inventory : D:\oracle\OID_HOME\inventory
Central Inventory : C:\Program Files (x86)\oracle\inventory
from : N/A
OUI location : D:\oracle\OID_HOME\oui
OUI shared library : D:\oracle\OID_HOME\oui\lib\win32\oraInstaller.dll
Java location : "D:\oracle\OID_HOME\jdk\jre\bin\java.exe"
Log file location : D:\oracle\OID_HOME/.patch_storage/patch ID/*.log
Creating log file "D:\oracle\oid_home\.patch_storage\LsInventory__03-14-2018_17-35-14.log"
Result:
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
null
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

Changes

 

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!


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