Hello Friend's,
In this post we will discuss , How to relink an oracle Home .
This method is much used for oracle installation , if we don't have access to GUI env , Mostly in Finance related env
So let's get started.
Step1 : Set Environment Variables
Set Environment Variables For Linux
○ ORACLE_HOME
○ PATH to $ORACLE_HOME/bin
○ LD_LIBRARY_PATH to $ORACLE_HOME/lib:/usr/lib
For AIX
○ setenv ORACLE_HOME
○ setenv PATH to $ORACLE_HOME/bin
○ Setenv LIBPATH to $ORACLE_HOME/lib:/usr/lib
Step 2 : Step to relink
$ORACLE_HOME/bin/relink all
Once the relink is done check the log file and add home to the orainventory
Step 3 : Add Oracle home to OraInventory
cd $ORACLE_HOME/oui/bin
./runInstaller -invPtrLoc /oracle/DB1/19.0.0/oraInst.loc -attachHome ORACLE_HOME=/oracle/DB1/19.0.0 ORACLE_HOME_NAME="Ora19cHome"
Step 4 : Change the permission of oradism
chmod 777 /oracle/DB1/19.0.0/bin/oradism
Hope This helps.
Kindly comment if any one needs any topic to be posted or need help on any topic .
Regards
Sultan Khan
2 comments
Click here for commentsHi sultan ,
ReplyI don't see why you do step 3 and step 4 ,
best regards
Step 3 is for adding the new home to the inventory
Replyfor e.g : if you are adding a new home to the server and server is already having 12c installed oraInventory will already have the 12c entry but we will need to add 19c entry
or else when we go for patching or check the latest patch set with opatch we will receive errors
and step 4 is specifically for 19c
i have seen the permission issue in 19c for specified file after the relink process
ConversionConversion EmoticonEmoticon