Professional Documents
Culture Documents
How To Recreate The OraInventory
How To Recreate The OraInventory
Solution
Locate the oraInst.loc file, which may be in different locations, depending on your
system:
/var/opt/oracle/oraInst.loc file
or
/etc/oraInst.loc
cp /var/opt/oracle/oraInst.loc /var/opt/oracle/oraInst.loc.bak
mkdir /u01/oracle/oraInventory
---file contents---
inventory_loc=/u01/oracle/oraInventory
inst_group=oinstall
---file contents---
Important:
For consistency, copy the file to Oracle home directory, (using your directory
location):
cp $ORACLE_HOME/oraInst.loc $ORACLE_HOME/oraInst.loc.bak
cp /var/opt/oracle/oraInst.loc $ORACLE_HOME/oraInst.loc
Run Oracle Universal Installer from your Oracle home as below, (using your site
specific directory location and Oracle home name):
cd $ORACLE_HOME/oui/bin
If the table at the beginning of the output is showing the proper directories, and
the Oracle home components are properly reflected in the details, then the Global
Inventory has been successfully created from the Local Inventory. At this time, you
may patch an maintain your Oracle home, as normal.