Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

oraInventory question

apps_bnNov 20 2008 — edited Nov 21 2008
Folks 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
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 19 2008
Added on Nov 20 2008
7 comments
9,841 views