On Fri, 7 Sep 2001, Bob Mroczka wrote:

> I just compiled and installed
> Apache 1.3.20 with mod_perl 1.26
> and mod_ssl-2.8.4.  Apache
> segfaults almost immediately on all requests.
>
> For kicks I compiled Apache
> without mod_ssl and the segfaults disappear.
> Also interesting is the fact that when
> I compile without mod_ssl make test
> completes successfully but when I include
> mod_ssl the make test fails to start a httpd process
> due to a syntax error:
> letting apache warm up...\c
> Syntax error on line 3 of /usr/src/mod_perl-1.26/t/conf/httpd.conf:
> Invalid command '=pod', perhaps mis-spelled or defined by a module not
> included in the server configuration
> done
> /usr/bin/perl t/TEST 0
> still waiting for server to warm up...............not ok

you have used PREP_HTTPD, of course make test won't work.
You want to follow this scenario while installing mod_ssl+mod_perl
http://perl.apache.org/guide/install.html#mod_perl_and_mod_ssl_openssl_
and you will be all set.

> When I run apache under -X and strace here is what
> happens when the request comes in:
> 26480 read(5, "GET / HTTP/1.0\r\nConnection: Keep"..., 4096) = 277
> 26480 rt_sigaction(SIGUSR1, {SIG_IGN}, {SIG_IGN}, 8) = 0
> 26480 time(NULL)                        = 999917985
> 26480 alarm(300)                        = 300
> 26480 alarm(0)                          = 300
> 26480 stat64(0x8170710, 0xbffff17c)     = 0
> 26480 --- SIGSEGV (Segmentation fault) ---
> 26480 +++ killed by SIGSEGV +++
>
> Does anyone have any suggestions?

You have kindly provided everything but the core trace. See the SUPPORT
file to learn how to do that, but first try to build using the details
from above.


_____________________________________________________________________
Stas Bekman              JAm_pH     --   Just Another mod_perl Hacker
http://stason.org/       mod_perl Guide  http://perl.apache.org/guide
mailto:[EMAIL PROTECTED]   http://apachetoday.com http://eXtropia.com/
http://singlesheaven.com http://perl.apache.org http://perlmonth.com/


Reply via email to