I solved the prob I had some time ago (see below) by adding "PerlModule
BerkeleyDB" to the httpd.conf:
...
# Load Apache::Registry
PerlModule Apache::Registry
# Load Berkeley DB
PerlModule BerkeleyDB
...
It runs fine now.
But I'm not exactly sure what went wrong in the old situation
Perrin Harkins zee op 15/4/05 17:19:
> Rick Jansen wrote:
>> # crashes:
>> my $DB_Object = new BerkeleyDB::Hash
>> -Filename => $DB,
>>-Env => $Env,
>> -Flags => DB_RDONLY ...
>
I'm converting an existing CGI-script that uses Berkely DB with CDB to a
mod_perl version, and I'm running into a problem. The first run works
fine, but the second hit causes a "child pid ... exit signal
Segmentation fault (11)" in the following line, UNLESS I close the
environment after each run,
The problem is fixed by upgrading to perl 5.8.3. I was using 5.8.0.
Rick
On Thu, Mar 11, 2004 at 12:26:48AM -0800, Stas Bekman wrote:
> Rick Jansen wrote:
> >Hi,
> >
> >I'm trying to run a little test script here under mod_perl.
> >When I request the script,
d_perl atm so if there is the
need I can provide a stack backtrace later.
Kind regards,
Rick Jansen
--
Systems Administrator for Rockingstone IT, Netherlands.
PGP Public Key: http://www.rockingstone.nl/rick/pubkey.asc
pgp0.pgp
Description: PGP signature