unable to connect to RMAN with the following error
ld.so.1: rman: fatal: relocation error: file /opt/app/oracle/product/10.2.0/db_2/bin/rman: symbol kgslctx_: referenced symbol not found
Killed
Reason: LD_LIBRARY_PATH not set
Solution:
Set the library path in the .profile for the changes to become permanent.
export ORACLE_HOME=/opt/app/oracle/product/10.2.0/db_1
export LD_LIBRARY_PATH=$ORACLE_HOME/lib:$LD_LIBRARY_PATH
and then execute the rman command
NODE:TEST:/ora/admin>rman target /
Recovery Manager: Release 10.2.0.5.0 - Production on Fri Apr 1 09:42:12 2011
Copyright (c) 1982, 2007, Oracle. All rights reserved.
connected to target database:TEST (DBID=3415316409)
RMAN> exit
Recovery Manager complete.
ld.so.1: rman: fatal: relocation error: file /opt/app/oracle/product/10.2.0/db_2/bin/rman: symbol kgslctx_: referenced symbol not found
Killed
Reason: LD_LIBRARY_PATH not set
Solution:
Set the library path in the .profile for the changes to become permanent.
export ORACLE_HOME=/opt/app/oracle/product/10.2.0/db_1
export LD_LIBRARY_PATH=$ORACLE_HOME/lib:$LD_LIBRARY_PATH
and then execute the rman command
NODE:TEST:/ora/admin>rman target /
Recovery Manager: Release 10.2.0.5.0 - Production on Fri Apr 1 09:42:12 2011
Copyright (c) 1982, 2007, Oracle. All rights reserved.
connected to target database:TEST (DBID=3415316409)
RMAN> exit
Recovery Manager complete.
$ echo $ORACLE_HOME
ReplyDelete/u001/app/oracle/product/11.2.0.4/db_1
$ export ORACLE_HOME=/u001/app/oracle/product/11.2.0.4/db_1
$ export LD_LIBRARY_PATH=$ORACLE_HOME/lib:$LD_LIBRARY_PATH
$ rman target /
ld.so.1: rman: fatal: relocation error: file /u001/app/oracle/product/11.2.0.4/db_1/bin/rman: symbol kgnfsgsvr11_: referenced symbol not found
Killed
$
Still facing the issue. Can you help me on it ?