ld.so.1: oracle: fatal: relocation error解決方法

myownstars發表於2013-10-10

OSSunOS 5.8

嘗試登陸某資料庫

stdby@> sqlplus / as sysdba

 

SQL*Plus: Release 10.2.0.5.0 - Production on Thu Oct 10 04:50:19 2013

 

Copyright (c) 1982, 2010, Oracle.  All Rights Reserved.

 

ld.so.1: oracle: fatal: relocation error: file /u001/app/oracle/product/10.2.0/db_1/lib/libjox10.so: symbol joxjwt_: referenced symbol not found

ERROR:

ORA-12547: TNS:lost contact

 

 

Enter user-name: ^C

 

db版本為10204,伺服器上同時裝有10205版本的,卻可以成功登陸;

Google一把沒發現有用答案,關閉資料庫relink all也不好使;

 

經比較發現,10205ORACLE_HOME=/u001/app/oracle/product/10.2.0/db_1,而10204則為/u001/app/oracle/product/10.2.0.4/db_1

而錯誤資訊給出的卻是10205的目錄,肯定是某些變數設定錯誤,經逐步排查,現已解決

stdby@> export LD_LIBRARY_PATH_64=$ORACLE_HOME/lib:$LD_LIBRARY_PATH_64

stdby@> sqlplus / as sysdba

 

SQL*Plus: Release 10.2.0.4.0 - Production on Thu Oct 10 04:50:47 2013

 

Copyright (c) 1982, 2007, Oracle.  All Rights Reserved.

 

Connected to an idle instance.

 

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/15480802/viewspace-774071/,如需轉載,請註明出處,否則將追究法律責任。

相關文章