dbTalk Databases Forums  

RE: [Info-ingres] ingres/apache/linux/DBD

comp.databases.ingres comp.databases.ingres


Discuss RE: [Info-ingres] ingres/apache/linux/DBD in the comp.databases.ingres forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Armand Pirvu \(yahoo\)
 
Posts: n/a

Default RE: [Info-ingres] ingres/apache/linux/DBD - 03-18-2005 , 05:25 PM






I would suggest exporting II_SYSTEM, PATH and LD_LIBRARY_PATH in
apachetl script from the bin directory of your Apache installation.
In httpd.conf you should have PassEnv directive and not SetEnv for
II_SYSTEM, LD_LIBRARY_PATH and PATH.
At least this is how I did for Apache and PHP and Ingres combination and
it works fine.

Hope this helps,

Cheers,
Armand

-----Original Message-----
From: info-ingres-admin (AT) cariboulake (DOT) com
[mailto:info-ingres-admin (AT) cariboulake (DOT) com] On Behalf Of Dennis Roesler
Sent: Friday, March 18, 2005 2:05 PM
To: info-ingres (AT) cariboulake (DOT) com
Subject: [Info-ingres] ingres/apache/linux/DBD

Linux:
Fedora Core release 3 (Heidelberg)
Kernel 2.6.10-1.770_FC3 on an i686
Ingres: II 3.0.1 (int.lnx/109)
Apache: 2.0
Perl: v5.8.5

This isn't really an ingres question per se, but I thought someone may
have run into this and know what the fix is.

When I try an http access to a perl cgi script that uses DBI I get the
error shown below. I've SetEnv for II_SYSTEM and LD_LIBRARY_PATH in
httpd.conf but that doesn't seem to have any effect (I use the same
value that I use for ingres' or root's .profile). I have no problem
running the script as the ingres user, or as root, from the command
line.

I was reading a comment in the Dynaloader.pm module that says this error

could be misleading. Other perl scripts work ok from Apache.

Thanks

Dennis
d underscore roesler at agilent dot com

install_driver(Ingres) failed: Can't load
'/usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/auto/DBD/Ingres/
Ingres.so'
for module DBD::Ingres: libinterp.1.so: cannot open shared object file:
No such file or directory at
/usr/lib/perl5/5.8.5/i386-linux-thread-multi/DynaLoader.pm line 230.
at (eval 2) line 3
_______________________________________________
Info-ingres mailing list
Info-ingres (AT) cariboulake (DOT) com
http://mailman.cariboulake.com/mailm...py/info-ingres


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.