opatch lsinventory -invPtrloc Fails with the Error "OUI found no such ORACLE_HOME set in the environment"
(Doc ID 2100056.1)
Last updated on APRIL 09, 2018
Applies to:Oracle Containers for J2EE - Version 10.1.2.0.0 to 126.96.36.199.0 [Release AS10gR2 to Oracle11g]
Information in this document applies to any platform.
While running opatch lsinventory command using invPtrloc option, it fails with the below errors.
$ORACLE_HOME/OPatch/opatch lsinventory -invPtrloc /u01/apps/Oracle/10.1.3/oraInst.loc
Oracle Interim Patch Installer version 188.8.131.52.64
Copyright (c) 2011 Oracle Corporation. All Rights Reserved..
Oracle recommends you to use the latest OPatch version
and read the OPatch documentation available in the OPatch/docs
directory for usage. For information about the latest OPatch and
other support-related issues, refer to document ID 293369.1
available on My Oracle Support (https://myoraclesupport.oracle.com)
Oracle Home : /u01/apps/Oracle/10.1.2
Oracle Home Inventory : /u01/apps/Oracle/10.1.2/inventory
Central Inventory : /a000/disco11g/oraInventory
from : /var/opt/oracle/oraInst.loc
OUI location : /u01/apps/Oracle/10.1.2/oui
OUI shared library : /u01/apps/Oracle/10.1.2/oui/lib/solaris/liboraInstaller.so
Java location : /u01/apps/Oracle/10.1.2/jdk/jre/bin/java
Log file location : /u01/apps/Oracle/10.1.2/.patch_storage/patch ID/*.log
Creating log file "/u01/apps/Oracle/10.1.2/.patch_storage/LsInventory__01-26-2016_01-41-20.log"
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!