Jason Simms wrote:
> I am having a problem similar to yours... Whenever I try an connect to
> Oracle (using DBD and DBI), I am getting a segmentation fault / child pid
> exit error. But this only happens under mod_perl, and only on one box in
> particular. If I move the exact same script to another box, everything
> works great. Also, if I write a command line perl script that talks to
> Oracle (e.g., does not use mod_perl), everything is fine.
What Hardware/software have you observed this on? I have been seeing the
_exact same symptoms_ for the better part of a month while attempting to rehost
my team's website. My HW/SW:
HP-UX 11.0 (with HP's ANSI-C compiler)
Oracle 7.3.4
perl 5.005_02
mod_perl 1.21
apache 1.3.9
DBI 1.13
DBD::Oracle 1.03
I've tried gcc 2.95 instead of HP's ANSI-C compiler, with the exact same
results. I even tried compiling everything static, again with no success.
This is a configuration which (under slightly earlier versions of everything)
is currently up on a production machine running HP-UX 10.20, so I've been more
than a little frustrated.
> Throughout my testing today, I am led to believe it has something to do with
> either Apache or mod_perl, and not with any particular script... Any help
> would be appreciated.
I had traced the problem to an interaction between mod_perl and the Oracle
libraries linked into DBD. If the fix is as simple as correcting some settings
in the .conf files, that means I won't have to spend the better part of
tomorrow reinstalling Oracle. I *had* decided the problem had lain in how it
had been installed instead of with the apache end of things until about five
minutes ago.
Ges