环境:
OS:Red Hat Linux As5
DB:10.2.0.1
1.libclntsh.so.10.1: cannot open shared object file: No such file or directory
[root@hxl_str /]# find . -name "libclntsh.so.10.1"
./u01/app/oracle/product/10.2.0/db_1/lib/libclntsh.so.10.1
LSNRCTL> start
Starting /u01/app/oracle/product/10.2.0/db_1/bin/tnslsnr: please wait...
/u01/app/oracle/product/10.2.0/db_1/bin/tnslsnr: error while loading shared libraries: libclntsh.so.10.1: cannot open shared object file: No such file or directory
TNS-12547: TNS:lost contact
TNS-12560: TNS:protocol adapter error
TNS-00517: Lost contact
Linux Error: 32: Broken pipe
错误原因:在root用户下执行的该命令,root没有设定环境变量LD_LIBRARY_PATH.
解决办法:切换到oracle用户.
阅读(1922) | 评论(0) | 转发(0) |