Attaching Oracle Home to OraInventory

When patches are applied to Oracle Products, patch utility checks/updates Oracle Inventory. If  pre-requisites  (e.g particular version of product)  information is not present in Inventory, patching process will fail.

Oracle Inventory may not be up to date for many reasons. One of the primary reason is presence of multiple oraInventories and oraInst.loc files. This situation would have happened with multiple people installing different products with different oraInventories.

In our case, we had an environment  with SOA and OSB. It’s been running for many years. We upgraded the version from to While trying to apply bundle patches for SOA( and OSB ( , OPatch process for OSB failed with error “Required version not present”.

OSB Upgrade from to was successful. However, OraInventory used by us was not updated with that information. The reason was, there was a local oraInst.loc file present in OSB Home directory which was pointing to different oraInventory.

“runInstaller” command seems to have -ignoreSysPrereqs option which ignores pre-requisites. However, we were not able to find that option with OPatch utility. Further, we wanted separate inventories to be consolidated rather than ignoring pre-requisites.

We are able to consolidate the inventory by attaching OSB Home to the inventory used by us. Following is the command for  attaching oracle home to oraInventory.

./runInstaller -silent -attachHome ORACLE_HOME="<Oracle_Home_Location>"

./runInstaller -silent -attachHome ORACLE_HOME="/u01/domain/soadomain/osb"

Above command needs to be run using <oracle_home>/oui/bin/runInstaller (not from the installation package).

Once our central inventory was updated with OSB Home information, patching process went through fine.

Reference:  Doc 438133.1


2 thoughts on “Attaching Oracle Home to OraInventory

  1. I have noticed you don’t monetize your website, don’t waste your traffic, you can earn extra cash every month because you’ve got hi quality content.

    If you want to know how to make extra bucks, search for:
    Mertiso’s tips best adsense alternative

  2. I have checked your blog and i have found some duplicate content, that’s why
    you don’t rank high in google, but there is a tool that can help you to create 100% unique articles,
    search for: Boorfe’s tips unlimited content

Leave a Reply

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