RECREATING THE GLOBAL INVENTORY
BACKUP THE ORAINVENTORY:
1) Go to /etc/ Direcory and open the oraInst.loc file and look the oraInventory path in that file and locate global oraInventory Directory
$vi /etc/oraInst.loc
Inventory_loc=
Inst_group =dba
2) take the complete backup of the oraInventory
$mv oraInventory oraInventory.bkp
Steps to Recreate the oraInventory:
Downloading and Unzipping the Patch:
1) patch 5035661 is the required patch to recreate the global oraInventory and can be downloaded from the metalink.oracle.com
2) unzip the patch in the ORACLE_HOME directory ,which we need to create the oraInventory
$unzip –od < ORACLE_HOME> p5035661_11i_LINUX.zip
3) Source the Database environement file
export ORACLE_BASE=/d01/mt/ora9i/
export ORACLE_HOME=$ORACLE_BASE/9.2.0.4
export ORACLE_SID=ora9i
export PATH=$ORACLE_HOME/bin:$PATH
export LD_LIBRARY_PATH=$ORACLE_HOME/lib
export LD_ASSUME_KERNEL=2.4.19
4) after unzipping the patch in the ORACLE_HOME ,it will create appsoui directory automatically in the ORACLE_HOME
5) Change directory to the < ORACLE_HOME>/appsoui/setup
$cd $ORACLE_HOME/appsoui/setup
6) Execute the perl script OUIsetup.pl:
$perl OUIsetup.pl
7) check the log file(OUIsetup.log) created in the same directory for any errors
8) Make sure that oraInventory exists ,where the path is located in the Inventory_loc in the oraInst.loc
Verify oraInventory Registration:
1) go to the directory $ORACLE_HOME/appsoui/oui/install
2) execute the command :./runinstaller.sh
14. Click on the button 'Installed Products'
15) If you are able to see all the ORACLE_HOMEs and the products installed on each one, then the Registration was succesfull
No comments:
Post a Comment