1 Reply Latest reply: Sep 6, 2012 4:19 AM by kuljeet singh - RSS

    unable to create central inventory in 11g

    TechAdmin
      Hi DBA's

      DB Version : 11.0.1.7.0
      OS Linux 86x64

      i am trying to apply cpu patch on one of our ORACLE_HOME and ASM_HOME while performing $opatch lsinventory i am gettting the following errors
      $ 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 : /opt/app/oracle/product/11.1.0.7
      Central Inventory : /opt/app/oraInventory
      from : /etc/oraInst.loc
      OPatch version : 11.1.0.6.2
      OUI version : 11.1.0.7.0
      OUI location : /opt/app/oracle/product/11.1.0.7/oui
      Log file location : /opt/app/oracle/product/11.1.0.7/cfgtoollogs/opatch/opatch2012-09-05_20-18-45PM.log



      Inventory load failed... OPatch cannot load inventory for the given Oracle Home.

      LsInventorySession failed: Unable to create patchObject

      OPatch failed with error code 73

      Please suggest i tried detaching ORACLE_HOME and reattached it when i re attached it it doesnt have ASM and CRS home entries
      here is what i have in /opt/app/oraInventory/ContentsXML/inventory.xml

      <INVENTORY>
      <VERSION_INFO>
      <SAVED_WITH>11.1.0.7.0</SAVED_WITH>
      <MINIMUM_VER>2.1.0.6.0</MINIMUM_VER>
      </VERSION_INFO>
      <HOME_LIST>
      <HOME NAME="" LOC="/opt/app/oracle/product/11.1.0.7" TYPE="O" IDX="1">
      <NODE_LIST>
      <NODE NAME="node1"/>
      <NODE NAME="node2"/>
      </NODE_LIST>
      </HOME>
      </HOME_LIST>
      </INVENTORY>

      This is a 2 node cluster on the other node i am able to get the results from lsinventory.

      PLease advise

      Thanks