oraInventory question
apps_bnNov 20 2008 — edited Nov 21 2008Folks i when i do :-
opatch lsinventory -invPtrLoc /opt/dba/oracle/oas1012/oraInst.loc
i can see the applied patches
but running opatch lsinventory errors out as oraInst.loc is not
in etc but in /opt/dba/oracle/oas1012/oraInst.loc
Now i did this
export ORAINST=/opt/dba/oracle/oas1012/oraInst.loc
echo $ORAINST
/opt/dba/oracle/oas1012/oraInst.loc
bash-3.00$ opatch lsinventory
Oracle Interim Patch Installer version 1.0.0.0.60
Copyright (c) 2008 Oracle Corporation. All Rights Reserved..
We recommend you refer to the OPatch documentation under
OPatch/docs for usage reference. We also recommend using
the latest OPatch version. For the latest OPatch version
and other support related issues, please refer to document
293369.1 which is viewable from metalink.oracle.com
Cannot open the file: /etc/oraInst.loc
Please use -invPtrLoc option and specify the correct file for OPatch to look for central inventory.
I am not sure why setting the environment variable ORAINST is not helping.
Btw my machine is linux x86_64.
Any suggestions would be highly appreciated