Opatch raised the following error:


ApplySession failed: ApplySession failed to prepare the system. OracleHomeInventory gets null oracleHomeInfo
System intact, OPatch will not attempt to restore the system

OPatch failed with error code 73

In order to find root cause;
export OPATCH_DEBUG=TRUE
then run "opatch apply" again. Following lines give more information.



Home name= OUIHome1, Location= "/u01/app/oracle/product/10.2.0"
Home name= OraDb11g_home1, Location= "/u01/app/oracle/11g/version/11107"
Home name= OraDb11g_examples, Location= "/u01/app/oracle/11gExamples"
OracleHomeInventory::createInventoryObj() construction done
OracleHomeInventory::load()
OPatchSession cannot load inventory for the given Oracle Home /u01/app/oracle/product/10.2.0.4. Possible causes are:
No read or write permission to ORACLE_HOME/.patch_storage
Central Inventory is locked by another OUI instance
No read permission to Central Inventory
The lock file exists in ORACLE_HOME/.patch_storage
The Oracle Home does not exist in Central Inventory

You can see that opatch runs under /u01/app/oracle/product/10.2.0.4 but inventory doesn't show this path as an Oracle Home. There is something wrong with the inventory data.

To fix the problem, i edited the following file in order to correct "OUIHome1" as /u01/app/oracle/product/10.2.0.4

$ORACLE_BASE/oraInventory/ContentsXML/inventory.xml

format must be like:

9 Responses so far.

  1. Anonymous says:

    Thank You, this fixed my issue.

  2. Anonymous says:

    Thanks You, you save my time. Nguyen

  3. I would like to thank you for the efforts you have made in writing this article. I am hoping the same best work from you in the future as well.

    oracle fusion financials online training

  4. Unknown says:

    I really got good knowledge and experience from your article. Thanks for sharing, For more detailed please visit our website.
    Oracle Fusion Financials Online Training

  5. shivani says:

    Thanks for sharing a useful information.. we have learnt so much information from your blog..... keep sharing
    Oracle Fusion Financials Online Training
    Oracle Fusion HCM Online Training
    Oracle Fusion SCM Online Training

  6. Anonymous says:

    Thank you for sharing such a nice and interesting blog with us. I have seen that all will say the same thing repeatedly. But in your blog, I had a chance to get some useful and unique information.

    sem training in hyderabad
    seo training in hyderabad
    SMM Training In Hyderabad

  7. If you want to get yahoo suppot phone Number, check on our website
    Yahoo Support Phone Number in USA

  8. Visit our Website if Want to get yahoo support or Yahoo Customer support
    How Do I Contact Yahoo Customer Support

Powered by Blogger.

Page Views

- Copyright © Emre Baransel - Oracle Blog -Metrominimalist- Powered by Blogger - Designed by Johanes Djogan -