Thursday, November 8, 2012

RECREATE CENTRAL INVENTORY HOME ORACLE

ISSUE:
Central inventory home might be missing when oracle software was cloned to new server.

CAUSE:
Default central inventory home location is not included in oracle software home.

SOLUTION:
recreate central inventory
for Linux platform:

As root
echo “inventory_loc=/etc/oraInventory” >> /etc/oraInst.loc
echo “inst_grp=dba” >> /etc/oraInst.loc
mkdir /etc/oraInventory
chown grid:dba /etc/oraInventory
chmod 770 /etc/oraInventory
As all other oracle software owners

cd $ORACLE_HOME/oui
echo “inventory_loc=/etc/oraInventory” >> oraInst.loc
echo “inst_grp=dba” >> oraInst.loc
$ORACLE_HOME/oui/runInstaller -silent  -attachHome –invPtrLoc ./oraInst.loc ORACLE_HOME=$ORACLE_HOME


reference:

No comments:

Post a Comment