Pages

Tuesday, 29 October 2013

Oracle Home inventory is corrupted in 11gr2 RAC

While checking oracle inventory with opatch, I got error as below.

[oracle@test4201 logs]$ opatch lsinventory
Oracle Interim Patch Installer version 11.2.0.3.5
Copyright (c) 2013, Oracle Corporation.  All rights reserved.


Oracle Home       : /u01/app/oracle/product/11203/testms
Central Inventory : /u01/app/oraInventory
   from           : /u01/app/oracle/product/11203/testms/oraInst.loc
OPatch version    : 11.2.0.3.5
OUI version       : 11.2.0.3.0
Log file location : /u01/app/oracle/product/11203/testms/cfgtoollogs/opatch/opatch2013-10-29_12-47-27PM_1.log

List of Homes on this system:

  Home name= Ora11g_gridinfrahome1, Location= "/u01/app/11203/grid"
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
[oracle@test4201 logs]$


Solution:

Detach the oracle home and attach it again as below.

[oracle@test4201 logs]$ cd $ORACLE_HOME/oui/bin
[oracle@test4201 bin]$ ./runInstaller -detachHome ORACLE_HOME="/u01/app/oracle/product/11203/testms"
Starting Oracle Universal Installer...

Checking swap space: must be greater than 500 MB.   Actual 16378 MB    Passed
The inventory pointer is located at /etc/oraInst.loc
The inventory is located at /u01/app/oraInventory
'DetachHome' failed.
[oracle@test4201 bin]$ ./runInstaller -silent -invPtrLoc /u01/app/oraInventory -attachHome ORACLE_HOME="/u01/app/oracle/product/11203/testms" ORACLE_HOME_NAME="OraDb11g_home1"
Starting Oracle Universal Installer...

Checking swap space: must be greater than 500 MB.   Actual 16378 MB    Passed
The inventory pointer is located at /u01/app/oraInventory
The inventory is located at /u01/app/oraInventory
'AttachHome' was successful.

Check now

[oracle@test4201 bin]$ opatch lsinventory
Oracle Interim Patch Installer version 11.2.0.3.5
Copyright (c) 2013, Oracle Corporation.  All rights reserved.


Oracle Home       : /u01/app/oracle/product/11203/testms
Central Inventory : /u01/app/oraInventory
   from           : /u01/app/oracle/product/11203/testms/oraInst.loc
OPatch version    : 11.2.0.3.5
OUI version       : 11.2.0.3.0
Log file location : /u01/app/oracle/product/11203/testms/cfgtoollogs/opatch/opatch2013-10-29_12-52-50PM_1.log

Lsinventory Output file location : /u01/app/oracle/product/11203/testms/cfgtoollogs/opatch/lsinv/lsinventory2013-10-29_12-52-50PM.txt

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

Oracle Database 11g                                                  11.2.0.3.0
There are 1 products installed in this Oracle Home.




31 comments:

  1. HomeZada is the only digital home information platform to help you improve value and save money throughout the entire homeowner lifecycle.

    ReplyDelete
  2. Nice service there are just few who are providing this service great job.
    Woman photographer

    ReplyDelete
  3. I really love your weblog, Its great information you have share here well done.

    New Development

    ReplyDelete
  4. Such an amazing and interesting informative blog i really appreciate your work.
    Home Extensions in Mindarie

    ReplyDelete
  5. This is so helpful and very great which i really like and appreciate it well done.
    concrete planters

    ReplyDelete
  6. Nice blog and your all presenting information are very great and it's really good well done.
    Home Security Company Atlanta

    ReplyDelete
  7. Such a nice blog and i appreciate your all efforts about the real estate broker it's really good work. well done keep posting.
    real estate broker

    ReplyDelete
  8. Ex client work and i appreciate your information about the real estate broker it's good work.
    real estate broker

    ReplyDelete
  9. Really very interesting and very valuable information about the home plan good work.
    home plan

    ReplyDelete
  10. I get many information about the floor plan and i appreciate your work.
    floor plan

    ReplyDelete
  11. Really very interesting and very valuable information about the health and good REMAX community Realtor nice work.
    REMAX community Realtor

    ReplyDelete
  12. I really love it and amazing information about the REMAX community Realtor it's really good and great information well done.
    REMAX community Realtor

    ReplyDelete
  13. Most valuable and fantastic blog I really appreciate your work which you have done about the solar screens,many thanks and keep it up.
    solar screens

    ReplyDelete
  14. I really love it and amazing information about the Join Dynasty Real Estate it's really good and great information well done.
    Join Dynasty Real Estate

    ReplyDelete
  15. Super blog and your presenting style about the tile installation atlanta that's are very appreciated good work.
    tile installation atlanta

    ReplyDelete
  16. Interesting blog all information are very important for me about the marietta tile installers and i really need it thank you.
    marietta tile installers

    ReplyDelete
  17. Such a nice blog and very nice you work and sharing this wonderful article about the eugene architectural photographer nice work.
    eugene architectural photographer

    ReplyDelete
  18. I like your all information about the real estate it's good work.
    Join Dynasty Real Estate

    ReplyDelete
  19. When will artificial intelligence and automation replace lawyers?
    Sarasota Real Estate Lawyer

    ReplyDelete
  20. Really very interesting and very valuable information about the Commercial Real Estate Las Vegas nice work.
    Commercial Real Estate Las Vegas

    ReplyDelete
  21. Your Post is very useful, I am truly happy to post my note on this blog . It helped me with ocean of awareness so I really consider you will do much better in the future.
    Thomas Appraisal Company

    ReplyDelete
  22. I have been reading your posts regularly which is specially for abbotsford condos .I need to say that you are doing a fantastic work. Please keep it up the great work.
    abbotsford condos

    ReplyDelete
  23. Very interesting and informative blog and about the led solar light and I must appreciate your work well done keep it up.
    led solar light

    ReplyDelete
  24. Nice blog and the details about it really interesting.
    I liked your blog.



    senior living tulsa

    ReplyDelete
  25. Very exclusive blog about commercial house for sale. Quite interesting and nice topic chosen for the post Nice Post keep it up.


    reno nv condos for sale

    ReplyDelete
  26. Interesting and valuable information which have share here well done.


    real estate broker

    ReplyDelete
  27. Really a wonderful blog! I like it very much. Here I can find everything in details.
    Good work.



    Facts of Earning Commission

    ReplyDelete
  28. Very informative article which is about the colorado new homes and i must bookmark it, keep posting interesting articles.



    colorado new homes

    ReplyDelete
  29. Really very interesting and very valuable information about the VILLA FOR SALE HUA HIN nice work.


    VILLA FOR SALE HUA HIN

    ReplyDelete