Click here to get back home

Perl DBI Oracle Problem with Apache 2.0.46

 HomeNewsGroups | Search | About
 comp.lang.perl.modules    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
Perl DBI Oracle Problem with Apache 2.0.46 John Armsby 01-19-2005
Get Chitika Premium
Posted by John Armsby on January 19, 2005, 2:29 am
Please log in for more thread options
I have a little test script which runs from the shell "perl
testOracleObject.pl" It uses DBI successfully and prints a few records to
the screen. No warnings, works great.

I take the same script, add a little html stuff... and run it directly as a
url from cgi-bin

print"content-type: text/htmlnn";
print("<html><body>");

http://ga25web04.wepd.mot.com/cgi-bin/testOracleObject.pl

On Redhat Enterprise release 3 out of the box APACHE 2.0.46 blows up. On
RedHat 9 out of the box Apache 2.0.40 has no problems. /etc/profile on both
Enterprise and redhat 9 boxes are identical. Oracle Installs are identical.
Oracle DBI identical....


[Tue Jan 18 11:41:44 2005] [error] [client 155.102.104.81]
install_driver(Oracle) failed: Can't load
'/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/auto/DBD/Oracle/Orac
le.so' for module DBD::Oracle: libclntsh.so.9.0: cannot open shared object
file: No such file or directory at
/usr/lib/perl5/5.8.0/i386-linux-thread-multi/DynaLoader.pm line 229.
[Tue Jan 18 11:41:44 2005] [error] [client 155.102.104.81] at (eval 1) line
3
[Tue Jan 18 11:41:44 2005] [error] [client 155.102.104.81] Compilation
failed in require at (eval 1) line 3.
[Tue Jan 18 11:41:44 2005] [error] [client 155.102.104.81] Perhaps a
required shared library or dll isn't installed where expected
[Tue Jan 18 11:41:44 2005] [error] [client 155.102.104.81] at
oracleConnectionObject.pm line 54



Any ideas?? I am stumped.
John




Posted by John Armsby on January 19, 2005, 2:44 am
Please log in for more thread options
Nevermind... I found a bunch of advice on GOOGLE. Will try to read and
understand. kinda obscure.

john


> I have a little test script which runs from the shell "perl
> testOracleObject.pl" It uses DBI successfully and prints a few records to
> the screen. No warnings, works great.
>
> I take the same script, add a little html stuff... and run it directly as
a
> url from cgi-bin
>
> print"content-type: text/htmlnn";
> print("<html><body>");
>
> http://ga25web04.wepd.mot.com/cgi-bin/testOracleObject.pl
>
> On Redhat Enterprise release 3 out of the box APACHE 2.0.46 blows up. On
> RedHat 9 out of the box Apache 2.0.40 has no problems. /etc/profile on
both
> Enterprise and redhat 9 boxes are identical. Oracle Installs are
identical.
> Oracle DBI identical....
>
>
> [Tue Jan 18 11:41:44 2005] [error] [client 155.102.104.81]
> install_driver(Oracle) failed: Can't load
>
'/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/auto/DBD/Oracle/Orac
> le.so' for module DBD::Oracle: libclntsh.so.9.0: cannot open shared object
> file: No such file or directory at
> /usr/lib/perl5/5.8.0/i386-linux-thread-multi/DynaLoader.pm line 229.
> [Tue Jan 18 11:41:44 2005] [error] [client 155.102.104.81] at (eval 1)
line
> 3
> [Tue Jan 18 11:41:44 2005] [error] [client 155.102.104.81] Compilation
> failed in require at (eval 1) line 3.
> [Tue Jan 18 11:41:44 2005] [error] [client 155.102.104.81] Perhaps a
> required shared library or dll isn't installed where expected
> [Tue Jan 18 11:41:44 2005] [error] [client 155.102.104.81] at
> oracleConnectionObject.pm line 54
>
>
>
> Any ideas?? I am stumped.
> John
>
>




Similar ThreadsPosted
Problem with DBD::Oracle in cgi-script August 28, 2007, 3:15 am
Problem installing DBD-Oracle June 5, 2008, 5:44 pm
Problem building DBD::Oracle on 64 bit solaris April 13, 2005, 2:51 pm
problem with Apache::AddHostPath December 21, 2004, 6:25 pm
Installing DBD:Oracle module on Perl 5.8.4 October 5, 2005, 11:11 am
Inserting CLOBS into Oracle using perl June 21, 2006, 10:57 am
Apache htaccess and perl August 5, 2006, 1:39 pm
starting apache with mod_perl, error on Apache.pm July 21, 2004, 5:34 pm
Perl DBD-oracle wont install complains about ld: Mismatched ABI --HP 11.00 November 21, 2006, 2:08 pm
Looking for pre-built DBI/DBD:Oracle modules for Perl 5.8.4 on Solaris 10 platform May 6, 2008, 5:02 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap