Skip to Content
0
Former Member
May 07, 2008 at 03:36 PM

Oracle Inventory corrupted

1167 Views

We installed several QA systems (BI, GRS, Portal, ECC) with their ORACLE_HOME's within the same UNIX box but when SAP ask for each ORACLE_HOME's name and path's to install we mistakenly don't change the name and just the path so the only recognized installation in the inventory is the last one.

Because of the above the oracle opatch utility is getting the following error with all but with the last one. So we cannot do patching to this instances. Can any one suggest a solution to re-inventory all oracle home's with the proper names?

$ $ORACLE_HOME/OPatch/opatch lsinventory

Invoking OPatch 10.2.0.2.0

Oracle interim Patch Installer version 10.2.0.2.0

Copyright (c) 2005, Oracle Corporation. All rights reserved..

Oracle Home : /oracle/QR1/102_64

Central Inventory : /oracle/oraInventory

from : /etc/oraInst.loc

OPatch version : 10.2.0.2.0

OUI version : 10.2.0.2.0

OUI location : /oracle/QR1/102_64/oui

Log file location : /oracle/QR1/102_64/cfgtoollogs/opatch/opatch-2008_May_07_11-27-00-EDT_Wed.log

List of Homes on this system:

Home name= OUIHome1, Location= "/oracle/QG1/102_64"

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

LsInventory Session failed: OracleHomeInventory::load() gets null oracleHomeInfo

OPatch failed with error code 72