Thursday, March 17, 2016

OPatch cannot find a valid oraInst.loc file to locate Central Inventory.

[orapsoft@uperikala 11.1.2.2.0]$ opatch lsinventory
Invoking OPatch 11.1.0.6.2

Oracle Interim Patch Installer version 11.1.0.6.2
Copyright (c) 2007, Oracle Corporation.  All rights reserved.


Oracle Home       : /data/Oracle/product/11.1.2.2.0/ses/seshome
Central Inventory : n/a
   from           :
OPatch version    : 11.1.0.6.2
OUI version       : 11.1.0.7.0
OUI location      : /data/Oracle/product/11.1.2.2.0/ses/seshome/oui
Log file location : n/a

OPatch cannot find a valid oraInst.loc file to locate Central Inventory.

OPatch failed with error code 104
[orapsoft@uperikala 11.1.2.2.0]$


SOLUTION:
********** 

export ORACLE_HOME=/data/Oracle/product/11.1.2.2.0/ses/seshome/

export PATH=$ORACLE_HOME/OPatch:$PATH

Command - opatch lsinventory -invPtrLoc /data/Oracle/product/11.1.2.2.0/ses/seshome/oraInst.loc

 OUTPUT:
********
[orapsoft@uperikala 11.1.2.2.0]$ opatch lsinventory -invPtrLoc /data/Oracle/product/11.1.2.2.0/ses/seshome/oraInst.loc
Invoking OPatch 11.1.0.6.2

Oracle Interim Patch Installer version 11.1.0.6.2
Copyright (c) 2007, Oracle Corporation.  All rights reserved.


Oracle Home       : /data/Oracle/product/11.1.2.2.0/ses/seshome
Central Inventory : /home/orapsoft/oraInventory
   from           : /data/Oracle/product/11.1.2.2.0/ses/seshome/oraInst.loc
OPatch version    : 11.1.0.6.2
OUI version       : 11.1.0.7.0
OUI location      : /data/Oracle/product/11.1.2.2.0/ses/seshome/oui
Log file location : /data/Oracle/product/11.1.2.2.0/ses/seshome/cfgtoollogs/opatch/opatch2016-03-17_05-15-40AM.log

Lsinventory Output file location : /data/Oracle/product/11.1.2.2.0/ses/seshome/cfgtoollogs/opatch/lsinv/lsinventory2016-03-17_05-15-40AM.txt

--------------------------------------------------------------------------------
Installed Top-level Products (1):

Oracle Secure Enterprise Search                                      11.1.2.2.0
There are 1 products installed in this Oracle Home.


Interim patches (11) :

Patch  8822159      : applied on Sat Sep 21 22:23:15 GMT-05:00 2013
   Created on 3 Dec 2009, 03:25:13 hrs PST8PDT
   Bugs fixed:
     8822159

Patch  8818412      : applied on Sat Sep 21 22:23:05 GMT-05:00 2013
   Created on 27 Oct 2009, 15:48:30 hrs US/Pacific
   Bugs fixed:
     8818412

Patch  8813366      : applied on Sat Sep 21 22:22:44 GMT-05:00 2013
   Created on 23 Mar 2010, 17:00:47 hrs PST8PDT
   Bugs fixed:
     8813366

Patch  8724099      : applied on Sat Sep 21 22:22:21 GMT-05:00 2013
   Created on 24 Dec 2009, 01:36:56 hrs PST8PDT
   Bugs fixed:
     8724099

Patch  8485697      : applied on Sat Sep 21 22:22:03 GMT-05:00 2013
   Created on 10 Jun 2009, 23:26:07 hrs PST8PDT
   Bugs fixed:
     8485697

Patch  8441289      : applied on Sat Sep 21 22:21:47 GMT-05:00 2013
   Created on 6 Jan 2011, 14:05:00 hrs PST8PDT
   Bugs fixed:
     8441289

Patch  8440074      : applied on Sat Sep 21 22:21:32 GMT-05:00 2013
   Created on 30 Nov 2009, 15:38:50 hrs PST8PDT
   Bugs fixed:
     8440074

Patch  7461187      : applied on Sat Sep 21 22:21:22 GMT-05:00 2013
   Created on 10 Nov 2009, 15:05:36 hrs US/Pacific
   Bugs fixed:
     7461187

Patch  7286541      : applied on Sat Sep 21 22:20:58 GMT-05:00 2013
   Created on 24 Oct 2008, 00:22:18 hrs PST8PDT
   Bugs fixed:
     7286541

Patch  7272646      : applied on Sat Sep 21 22:20:32 GMT-05:00 2013
   Created on 14 Oct 2008, 02:36:06 hrs PST8PDT
   Bugs fixed:
     7272646

Patch  11813773     : applied on Sat Sep 21 22:20:09 GMT-05:00 2013
   Created on 25 Feb 2011, 13:19:51 hrs PST8PDT
   Bugs fixed:
     8517426, 7625967



--------------------------------------------------------------------------------

OPatch succeeded.
[orapsoft@uperikala 11.1.2.2.0]$
 

No comments :

Post a Comment