Hi,
starting the following Perl-Script located in cgi-bin-directory through
a web browser a problem with the dbd::Oracle module occurs:
#! /usr/bin/perl
use DBI;
$dbhp = DBI->connect('DBI:Oracle:host=billix;sid=phoenix',
'username', 'password',
{ RaiseError => 1, AutoCommit => 1 });
with the error message:
install_driver(Oracle) failed: Can't load
'/usr/lib/perl5/site_perl/5.005/i586-linux/auto/DBD/Oracle/Oracle.so'
for module DBD::Oracle: libclntsh.so.1.0: cannot open shared object
file: No such file or directory at
/usr/lib/perl5/5.00503/i586-linux/DynaLoader.pm line 169.
at (eval 1) line 3
at /usr/local/httpd/cgi-bin/kunden_aus_phoenix.pl line 14
[Mon Jun 24 14:35:08 2002] [error] [client 172.16.4.90] Premature end of
script headers: /usr/local/httpd/cgi-bin/kunden_aus_phoenix.pl
We already changed all the access rights so that is allowed everything
(intranet server, so no problem) but this didn't help either.
While running the script from console we do not have any problems.
Any ideas? Maybe the apache user?
Thanks for your help
Thomas