Thursday, September 29, 2016

How to recreate oraInventory using Oracle Universal Installer (OUI)

I come across the missing oraInventory issue and I have recreated the inventory using Oracle Universal installer. In case inventory got corrupted, you can use the same steps.

1. Make sure you set the ORACLE_HOME variable
$ export ORACLE_HOME=/oracle/product/11203

2. Update the $ORACLE_HOME/oraInst.loc file to point to the inventory or wherever you want to keep the inventory.

Forex:- cat $ORACLE_HOME/oraInst.loc

3. Run below OUI command to register ORACLE_HOME

$cd $ORACLE_HOME/oui/bin
$ ./runInstaller -silent -invPtrLoc $ORACLE_HOME/oraInst.loc -attachHome ORACLE_HOME="/oracle/product/11203" ORACLE_HOME_NAME="OraDb11g_home1"

In case of RAC environment, pls use below syntax

$./runInstaller -silent -attachHome oracle_home="<oracle_home_location>"
"cluster_nodes={<node1, node2>}" local_node="<node_name>"

4. You can verify the inventory created or not using below command
$ORACLE_HOME/OPatch/opatch lsinventory -invPtrLoc $ORACLE_HOME/oraInst.loc

Deleting Oracle Home from Central Inventory
$./runInstaller -silent -detachHome -invPtrLoc $ORACLE_HOME/oraInst.loc 

Satishbabu Gunukula, Oracle ACE


  1. Such news should be made more widely available. Carla

  2. This comment has been removed by the author.

  3. With the headway and modernisation of the general public, the requirement for 'recreation' has turned into a vital one which ought not be ignored.

  4. In the event that you dive deep into the subject of 'recreation', you will arrive at those crude ages when the social design was constrained by a couple and all others were 'slaves'. Barbacue Catering

  5. The principal significance of the gig is in utilizing recreation - play, expressions and artworks, dance, sports, games, field trips and different exercises - advance dynamic and intrigued support by the patient. Gym Flooring