Hi there,
On Wed, 9 May 2001, Greg Wilson wrote:
> Hi. We're getting a segfault when httpd shuts down when using
> mod_perl on Red Hat 6.2
[snip]
> "perl -V" gives:
>
> Summary of my perl5 (5.0 patchlevel 5 subversion 3) configuration:
> Platform:
> osname=linux, osvers=2.2.5-22smp, archname=i386-linux
> uname='linux porky.devel.redhat.com 2.2.5-22smp #1 smp wed jun 2
[snip]
> Characteristics of this binary (from libperl):
> Built under linux
> Compiled at Feb 2 2000 15:35:58
[snip]
> "/usr/sbin/httpd -V" gives:
>
> Server version: Apache/1.3.12 (Unix) (Red Hat/Linux)
> Server built: Mar 1 2000 13:37:34
[snip]
> "uname -a" and "cat /etc/redhat-release" give:
>
> Linux snuff.testbed.private 2.2.14-5.0 #1 Tue Mar 7 20:53:41 EST 2000 i586
Looks like you didn't compile your own Perl, mod_perl and Apache.
It's well worth the trouble, it only takes a few minutes when you get
the hang of it. I'd try getting the sources for Perl 5.005_03, Apache
1.3.19 and mod_perl 1.25 and compiling the lot. I'd also try building
static as there can be problems with DSO (*).
You may see other, more informative replies if you're patient... :)
73,
Ged.
(*) Extract from .../mod_perl-1.25/INSTALL.apaci:
----------------------------------------------------------------------
=head1 NAME
INSTALL.apaci - Installing mod_perl under Unix with the new hybrid
build environment for Apache 1.3
[snip]
=head1 EXPERIMENTAL
With Apache 1.3 there is support for building modules as Dynamic
Shared Objects (DSO). So there is support for DSO in mod_perl now,
too. I<BUT THIS IS STILL EXPERIMENTAL, SO BE WARNED!>
----------------------------------------------------------------------