OS:SunOS 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也不好使;
经比较发现,10205的ORACLE_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/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/15480802/viewspace-774071/