Thursday, March 5, 2015

Relink Oracle binaries


Among other reasons after upgrading or patching the O/S it is recommended by Oracle to relink the Oracle binaries.

This can be done manually as following:

1. Set environment variables

DISPLAY
TERM or ORACLE_TERM
ORACLE_HOME
PATH to include $ORACLE_HOME/bin
LD_LIBRARY_PATH $ORACLE_HOME/lib:/usr/lib


2. Perform the relink

As oracle user on the DB server execute:

-- All versions


$ORACLE_HOME/bin/relink all >> relink.log

 -- Additional for 11GR2 using the OUI

$ORACLE_HOME/oui/bin/runInstaller -relink -waitForCompletion -maketargetsxml  $ORACLE_HOME/inventory/make/makeorder.xml  -logLocation $ORACLE_HOME/install ORACLE_HOME=$ORACLE_HOME > $ORACLE_HOME/install/relink.log 2>&1


REFERENCES:

Oracle support Documents 1467060.1,883299.1

No comments:

Post a Comment