thanks for the input tim (and charles),
i have checked all the permissions, and these should be fine for access
by the apache user. and when i ran as myself (not root), the command
line execution did fine, too.
-rwxrwxr-x 1 root root 18825267 Nov 15 2006
/usr/local/instantclient_10_2/libclntsh.so.10.1
drwxr-xr-x 4 root root 4096 Aug 30 16:56 /usr/local/instantclient_10_2/
drwxr-xr-x 20 root root 4096 Aug 30 17:26 /usr/local
drwxr-xr-x 15 root root 4096 Jun 14 18:03 /usr
drwxr-xr-x 23 root root 4096 Aug 27 14:38 /
i will try the strace and see what i can see...
thanks again,
bruce
Tim Kirby wrote:
On 8/30/07 4:51 PM, "Bruce Sears" <[EMAIL PROTECTED]> wrote:
thanks for bearing with this. it's too much detail, but perhaps not
enough (sigh).
Just glancing at this before retiring for the night; someone else will
probably give you a real answer, but two things come to mind/might be
worth looking at/whatever...
(1) have you verified permissions for the library in question for whatever
user the CGI is running as? I know the error didn't say permission
denied, but you never know...
(2) I would feel inclined to run the web server under strace, feeding the
output to a file somewhere (make sure you're following children) and
run your test case. There you will see the actual system calls that
are being invoked and you should see a 'stat' and a real errno as to
why it didn't open the library when it should have done. The trouble
with debug aids of the kind you're using is it really depends on the
people who wrote the debug code to have done the right thing everywhere.
Color me cynical.
So, there's my $0.02 FWIW. I may be in lala land, but that's what I would
be looking at assuming I didn't misread what you posted.
Good luck
Tim