• Find us:
    +1 415 655 1723   |   +91-844-844-8901
  • Free Newsletter

     
     

  • Archive

  • Categories


  • Solution for OPatch could not find OUI based inventory in the Oracle Home

    Posted by "" in "OHS, Oracle" on 2014-12-05

    Share on FacebookTweet about this on TwitterShare on Google+Share on LinkedInEmail this to someone

    I encountered the following issue when I was applying a patch on one of the Oracle HTTP Server installations.

     $/u01/oracle/products/web/OPatch/opatch lsinventory

    OPatch could not find OUI based inventory in the Oracle Home. But, OUI location is provided using ‘oui_loc’ option. Please check the inventory of the Oracle Home and run OPatch again.

     OPatch failed with error code 255

     As the error indicates the OPatch executable could not find the Oracle Home in oraInventory. At this moment, I am not sure why the Oracle Home was not registered with oraInventory in my case.

    To resolve this error, we need to register the Oracle Home with the inventory using the command attachHome as follows:

     

    [oracle@oracle 19561724]$ /u01/oracle/products/web/oui/bin/attachHome.sh

    Starting Oracle Universal Installer…

    Checking swap space: must be greater than 500 MB.   Actual 4511 MB    Passed

    Preparing to launch Oracle Universal Installer from /tmp/OraInstall2014-11-12_04-07-29PM.

     

    Please wait …[oracle@oracle 19561724]$ The inventory pointer is located at /etc/oraInst.loc

    The inventory is located at /u01/oracle/oraInventory

    ‘AttachHome’ was successful.

     

    Now if you see the file inventory.xml, you can see the entry for your ORACLE_HOME. You can run the OPatch command and you should not see this error again.

    Ganesh Kamble works as Oracle Fusion Middleware Consultant and is an Oracle Certified Specialist in Access Management. Having started his career in product development at Oracle, Ganesh got excellent exposure to the middleware technologies during his work in integration of Tier-1 banking product Oracle Banking Platform with Oracle Fusion Middleware products. He was honored with Outstanding Contribution award by Oracle.
    His key areas of interest are Oracle Identity and Access Management, Oracle Service Oriented Architecture and Java with passion for blogging on various encounters with Oracle products. He publishes blogs regularly on http://k21technologies.com/blog/. He can be reached at ganesh.kamble@k21technologies.com and http://twitter.com/ganeshk_8
    Share on FacebookTweet about this on TwitterShare on Google+Share on LinkedInEmail this to someone

    Leave a Reply

    Your email address will not be published. Required fields are marked *



  • K21 Technologies is among the most experienced Oracle Gold Partner for Identity Access Management service providers. We work with application development companies and in-house technology division to help achieve significant returns on their IT security investment. Our clientele includes some of the globally renowned corporate, which speaks of our expertise in our field.

    We have the most talented and experienced team that can swiftly deploy security solutions even in complex IT ecosystem. Our clients highly appreciate our timely implementation, interactive training, on-demand support and community resources.
  • CONTACTS

    K21 Technologies
    128 Uxbridge Road, Hatchend,,
    London, HA5 4DS

    US: +1 415 655 1723
    India: +91-844-844-8901

  • Copyright 2019, K21 Technologies. All rights reserved
  • TOP
    TOP