Header Ads

ad728
  • Breaking News

    Oracle Home inventory is corrupted LsInventorySession failed: OracleHomeInventory

    Oracle Home inventory is corrupted LsInventorySession failed: OracleHome Inventory

    [oratest@slctest01 OPatch]$ opatch lsinventory
    Oracle Interim Patch Installer version 11.2.0.3.3
    Copyright (c) 2012, Oracle Corporation.  All rights reserved.


    Oracle Home       : /u01/oracle/testdb/11.2.0
    Central Inventory : /u01/oraInventory
       from           : /u01/oracle/testdb/11.2.0/oraInst.loc
    OPatch version    : 11.2.0.3.3
    OUI version       : 11.2.0.3.0
    Log file location : /u01/oracle/testdb/11.2.0/cfgtoollogs/opatch/opatch2013-05-15_10-27-12AM_1.log

    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


    Solution

    I was able to solve this issue; Follow the steps below:

     1. Login to the server.
     2. cd $ORACLE_HOME/oui/bin
     $ ./attachHome.sh
     Starting Oracle Universal Installer...

     Checking swap space: must be greater than 500 MB. Actual 196608 MB Passed
     Preparing to launch Oracle Universal Installer from /tmp/OraInstall2012-06-27_03-07-48AM. Please wait ...
     3. Re-run the same command and it is going to work.

     [oratest@slctest01 ~]$ opatch lsinventory

    No comments

    Note: Only a member of this blog may post a comment.