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

[复制链接]
查看11 | 回复2 | 2011-2-18 11:43:34 | 显示全部楼层 |阅读模式
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 foundERROR:ORA-12547: TNS:lost contactEnter 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_64stdby@> 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.
回复

使用道具 举报

千问 | 2011-2-18 11:43:34 | 显示全部楼层
Thanks for sharing. What made you think ofthe variable LD_LIBRARY_PATH_64? What's yourLD_LIBRARY_PATH set to? What if you unsetLD_LIBRARY_PATH_64?
回复

使用道具 举报

千问 | 2011-2-18 11:43:34 | 显示全部楼层
Yong Huang 发表于 2013-10-11 00:18
Thanks for sharing. What made you think ofthe variable LD_LIBRARY_PATH_64? What's yourLD_LIBRARY ...

对比10205逐步排查的;
LD_LIBRARY_PATH设置对此无影响,如果unset LD_LIBRARY_PATH_64则会报同样错误
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行