This is the reply I recieved from the Apache Mailling list from
Rob Bloodgood.
When I see this problem, I automatically think, Oh, the Oracle libs aren't being located by the system.
Edit /etc/ld.so.conf and add the value of $ORACLE_home/lib (the directory that has libclntsh.so.8 in it)
eg
/usr/local/oracle/8.1.5/lib
Then run /sbin/ldconfig to update Linux's idea of where things are, and stop and start the server.
ALSO, ensure that ORACLE_HOME and preferably ORACLE_SID are explicitly provided to your perl stuff:
in httpd.conf
PerlPassEnv ORACLE_HOME
THIS CAN BITE YOU! If your httpd startup script doesn't have the oracle environment loaded, you may have to fix that as well:
at the top of /etc/rc.d/init.d/httpd
# Source function library.
. /etc/rc.d/init.d/functions <!-- already there -->
# Source Oracle environment <!-- you add these lines -->
ORAENV_ASK=NO
ORACLE_SID=stats
. /usr/bin/oraenv
# See how we were called. <!-- already there -->
case "$1" in
--
BigJoeLearn patience, you must.
Young PerlMonk, craves Not these things.
Use the source Luke.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.