Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> tnsping fails on libclntsh.so (Solaris)

tnsping fails on libclntsh.so (Solaris)

From: <ggoodrum_at_my-deja.com>
Date: Thu, 10 Feb 2000 14:19:55 GMT
Message-ID: <87uhe7$aed$1@nnrp1.deja.com>


Perhaps someone has seen this before. I have two Sun E-4000 hosts which I believe are running identical configurations of Solaris 2.5.1. Both have Oracle 8.0.5.2 installed, and both have the same tnsnames.ora. But on one host, tnsping works, while on the other host, tnsping fails to execute with this message:

hous11;caper> tnsping capertst
ld.so.1: tnsping: fatal: libclntsh.so.1.0: open failed: No such file or directory
Killed

I verified that PATH and LD_LIBRARY_PATH are the same on both hosts. I verified that libclntsh.so and libclntsh.so.1.0 exist on both hosts, and have the same permissions and the same contents on both hosts. I also verified that tnsping has the same permissions on both hosts, and that no other "tnsping" command existed elsewhere. All of the following yielded identical results on both hosts:

hous11;caper> echo $PATH
/home/user/caper/bin:/usr/local/bin:/usr/bin::/home/user/caper/bin:/usr/
sbin:/us
r/local/bin:/usr/ccs/bin:/usr/ucb:/home/user/caper/bin:/u00/app/oracle/p roduct/8
.0.5.2/bin

hous11;caper> echo $LD_LIBRARY_PATH
/u00/app/oracle/product/8.0.5.2/lib

hous11;caper> ls -l $LD_LIBRARY_PATH/libclntsh.so lrwxrwxrwx 1 oracle dba 16 Feb 4 11:09
/u00/app/oracle/product/8.0.5.2/lib/libclntsh.so -> libclntsh.so.1.0

hous11;caper> ls -l $LD_LIBRARY_PATH/libclntsh.so.1.0 -rwxr-xr-x 1 oracle dba 6894704 Dec 15 17:05
/u00/app/oracle/product/8.0.5.2/lib/libclntsh.so.1.0

hous11;caper> sum $LD_LIBRARY_PATH/libclntsh.so.1.0 56794 13467 /u00/app/oracle/product/8.0.5.2/lib/libclntsh.so.1.0

hous11;caper> ls -l $ORACLE_HOME/bin/tnsping -rwsr-s--x 1 oracle dba 99868 Dec 14 1998
/u00/app/oracle/product/8.0.5.2/bin/tnsping

hous11;caper> which tnsping
/u00/app/oracle/product/8.0.5.2/bin/tnsping

Does anyone have any ideas about what other differences I should look for?

Thanks
Glenn Goodrum

Sent via Deja.com http://www.deja.com/
Before you buy. Received on Thu Feb 10 2000 - 08:19:55 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US