- 最后登录
- 2023-8-16
- 在线时间
- 1686 小时
- 威望
- 2135
- 金钱
- 50532
- 注册时间
- 2011-10-12
- 阅读权限
- 200
- 帖子
- 5207
- 精华
- 39
- 积分
- 2135
- UID
- 2
|
7#
发表于 2012-5-17 11:17:52
ODM FINDING:
Cannot connect to 9.2 database - Dependent module libjox9.a(shr.o) could not be loaded
Fact(s)
~~~~~~~
Attempting to connect to a 9i(9.2) database.
Environment variables are set to point to the 9.2 database.
ORACLE_HOME, ORACLE_SID are set correctly.
Symptom(s)
~~~~~~~~~~
When connecting we get the following errors:
$ sqlplus system/rem920
SQL*Plus: Release 9.2.0.1.0 - Production on Thu Aug 29 14:48:55 2002
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
exec(): 0509-036 Cannot load program oracleREM920 because of the following
errors:
0509-150 Dependent module libjox9.a(shr.o) could not be loaded.
0509-022 Cannot load module libjox9.a(shr.o).
0509-026 System error: A file or directory in the path name does
not exist.
ERROR:
ORA-12547: TNS:lost contact
Change(s)
~~~~~~~~~
However, while connecting if connect string is given it connects fine.
Eg:
$ sqlplus system/rem920@connect_string
Cause
~~~~~
The LIBPATH / LD_LIBRARY_PATH environment variable is not set properly.
Fix
~~~
Add the following: $ORACLE_HOME/lib to the LIBPATH environment variable.
( as per the OS you may need to check LD_LIBRARY_PATH & to it add $ORACLE_HOME/lib )
For eg:
LIBPATH=$ORACLE_HOME/lib32:$JAVA_HOME/lib:$ORACLE_HOME/lib |
|