sgrennay has asked for the wisdom of the Perl Monks concerning the following question:
I have a program using DBD::Oracle in perl. Runs fine at command line, can't get it to run in httpd as root, but not for any other user.
I've set all the paths in /etc/profile, /etc/ld.so.conf.d/oracle.conf and within the program itself.
I've disabled selunix. I've confirmed file permissions to the oracle library.
I've even set apache so I could su to it from root and made sure I can get to all of the libraries and directories I could possibly need.
Apache just will not run it, or any regular user, but root works fine.
I tried as my regular use account..no go on that either.
I get the following error that is driving me nuts!
install_driver(Oracle) failed: Can't locate DBD/Oracle.pm in @INC (@INC contains: /usr/local/lib/perl5 /usr/local/share/perl5 /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5 /usr/share/perl5 .) at (eval 3) line 3. Perhaps the DBD::Oracle perl module hasn't been fully installed, or perhaps the capitalisation of 'Oracle' isn't right. Available drivers: DBM, ExampleP, File, Gofer, Pg, Proxy, SQLite, Sponge, mysql.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: DBD::Oracle in browser
by gsiems (Deacon) on Jan 06, 2016 at 21:22 UTC | |
|
Re: DBD::Oracle in browser
by sgrennay (Initiate) on Jan 06, 2016 at 21:17 UTC | |
by Corion (Patriarch) on Jan 07, 2016 at 07:58 UTC | |
by nadeemrafikhan (Initiate) on Nov 15, 2016 at 07:26 UTC |