0 Replies Last post: Apr 17, 2010 12:17 PM by Community Admin  
Novice 44 posts since
Mar 30, 2009
Currently Being Moderated

Apr 17, 2010 12:17 PM

Opatch error: Inventory load failed ...

Oracle Database server EE - 10.1.0.2. ~ 11.2

 

opatch lsinventory is failing with the following errors:

$ opatch lsinventory -invPtrLoc /dw1/oracle/db11/oraInst.loc
Invoking OPatch 11.1.0.8.1

Oracle Interim Patch Installer version 11.1.0.8.1
Copyright (c) 2010, Oracle Corporation.  All rights reserved.


Oracle Home       : /dw1/oracle/db11
Central Inventory : /dw1/oracle/db11/inventory
   from           : /dw1/oracle/db11/oraInst.loc
OPatch version    : 11.1.0.8.1
OUI version       : 11.1.0.7.0
OUI location      : /dw1/oracle/db11/oui
Log file location : /dw1/oracle/db11/cfgtoollogs/opatch/opatch2010-04-17_11-53-46AM.log

Patch history file: /dw1/oracle/db11/cfgtoollogs/opatch/opatch_history.txt

List of Homes on this system:

Inventory load failed... OPatch cannot load inventory for the given Oracle Home.
Possible causes are:
   Oracle Home dir. path does not exist in Central Inventory
   Oracle Home is a symbolic link
   Oracle Home inventory is corrupted
LsInventorySession failed: OracleHomeInventory gets null oracleHomeInfo

OPatch failed with error code 73

Cause: ORACLE_HOME information is missing from the Central Repository (oraInventory) or Central Inventory is missing for the Oracle Home.

 

Resolution: Register / Attach the Oracle Home info to the existing Central Inventory using the following command:

Oracle Home version 10.2.0.2 or higher:

$ $ORACLE_HOME/oui/bin/attachHome.sh

or

$ $ORACLE_HOME/oui/bin/runInstaller -silent -attachHome ORACLE_HOME=$ORACLE_HOME ORACLE_HOME_NAME=<name_of_oracle_home*>

 

* replace <name_of_oracle_home> with the name given/wanted for this Oracle Home.

 

run Opatch to check this Oracle Home details

$ opatch lsinventory -all

opatch lsinventory
Invoking OPatch 11.1.0.8.1

Oracle Interim Patch Installer version 11.1.0.8.1
Copyright (c) 2010, Oracle Corporation.  All rights reserved.


Oracle Home       : /dw1/oracle/db11
Central Inventory : /usr/oracle/oraInventory
   from           : /etc/oraInst.loc
OPatch version    : 11.1.0.8.1
OUI version       : 11.1.0.7.0
OUI location      : /dw1/oracle/db11/oui
Log file location : /dw1/oracle/db11/cfgtoollogs/opatch/opatch2010-04-17_11-58-49AM.log

Patch history file: /dw1/oracle/db11/cfgtoollogs/opatch/opatch_history.txt

Lsinventory Output file location : /dw1/oracle/db11/cfgtoollogs/opatch/lsinv/lsinventory2010-04-17_11-58-49AM.txt

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

Oracle Database 11g                                                  11.1.0.6.0
Oracle Database 11g Patch Set 1                                      11.1.0.7.0
There are 2 products installed in this Oracle Home.


Interim patches (3) :

Patch  9118622      : applied on Mon Jan 18 19:28:44 EST 2010
Unique Patch ID:  12077344
   Created on 4 Jan 2010, 04:05:12 hrs PST8PDT
   Bugs fixed:
     9118622

Patch  9118620      : applied on Mon Jan 18 19:28:38 EST 2010
Unique Patch ID:  12077344
   Created on 4 Jan 2010, 01:31:47 hrs PST8PDT
....

More Like This

  • Retrieving data ...