How To Relink Oracle Binaries 19c

 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


  ○ 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 .


Sultan Khan

Next Post »


Click here for comments
October 3, 2021 at 7:45 PM ×

Hi sultan ,

I don't see why you do step 3 and step 4 ,

best regards

Sultan Khan
October 29, 2021 at 4:03 PM ×

Step 3 is for adding the new home to the inventory
for 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