httpd coredumps on restart

View: New views
3 Messages — Rating Filter:   Alert me  

httpd coredumps on restart

by Barry Friedman-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Configuration:
   OS  FreeBSD 7.0
   System:  HP Proliant DL380
   Apache  1.3.41
   PHP-5.2.8

I recently changed my httpd.conf file to allow NameVirtualHost as well
as IP based Virtual hosting. Since then I am having problems starting
up apache.  On graceful restart the apache process dumps core and the
log message is:

kernel: pid 10114 (httpd), uid 0: exited on signal 11 (core dumped)
gdb on the core file is unenlightening: Program terminated with signal
11, Segmentation fault.

Reverting to the old httpd.conf (before changes) did not help and
apachectl start also failed.

I found a work around which was to comment out the  LoadModule
php5_module and AddModule mod_php5.c lines in httpd.conf and then
start httpd.  At this point httpd runs and
I then uncomment the above lines and do a graceful restart and httpd
stays alive.

Any suggestions on diagnosing this problem would be appreciated.

--
Barry Friedman



_______________________________________________
freebsd-proliant@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-proliant
To unsubscribe, send any mail to "freebsd-proliant-unsubscribe@..."

Re: httpd coredumps on restart

by Henri Hennebert :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

bf.mbox@... wrote:

> Configuration:
>    OS  FreeBSD 7.0
>    System:  HP Proliant DL380
>    Apache  1.3.41
>    PHP-5.2.8
>
> I recently changed my httpd.conf file to allow NameVirtualHost as well
> as IP based Virtual hosting. Since then I am having problems starting
> up apache.  On graceful restart the apache process dumps core and the
> log message is:
>
> kernel: pid 10114 (httpd), uid 0: exited on signal 11 (core dumped)
> gdb on the core file is unenlightening: Program terminated with signal
> 11, Segmentation fault.

You probably update php to 5.2.8. During this upgrade, the order of php
extensions change in the file /usr/local/etc/php/extensions.ini

Simply edit it and change the order of the lines. It's a known problem
with php.

Henri

>
> Reverting to the old httpd.conf (before changes) did not help and
> apachectl start also failed.
>
> I found a work around which was to comment out the  LoadModule
> php5_module and AddModule mod_php5.c lines in httpd.conf and then
> start httpd.  At this point httpd runs and
> I then uncomment the above lines and do a graceful restart and httpd
> stays alive.
>
> Any suggestions on diagnosing this problem would be appreciated.
>
> --
> Barry Friedman
>
>
>

_______________________________________________
freebsd-proliant@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-proliant
To unsubscribe, send any mail to "freebsd-proliant-unsubscribe@..."

Re: httpd coredumps on restart

by Ivan Slavkov :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Do you have APC PHP extension or some other memory cache or Zend Optimizer
installed?

On Fri, Dec 26, 2008 at 10:40 AM, <bf.mbox@...> wrote:

> Configuration:
>   OS  FreeBSD 7.0
>   System:  HP Proliant DL380
>   Apache  1.3.41
>   PHP-5.2.8
>
> I recently changed my httpd.conf file to allow NameVirtualHost as well
> as IP based Virtual hosting. Since then I am having problems starting
> up apache.  On graceful restart the apache process dumps core and the
> log message is:
>
> kernel: pid 10114 (httpd), uid 0: exited on signal 11 (core dumped)
> gdb on the core file is unenlightening: Program terminated with signal
> 11, Segmentation fault.
>
> Reverting to the old httpd.conf (before changes) did not help and
> apachectl start also failed.
>
> I found a work around which was to comment out the  LoadModule
> php5_module and AddModule mod_php5.c lines in httpd.conf and then
> start httpd.  At this point httpd runs and
> I then uncomment the above lines and do a graceful restart and httpd
> stays alive.
>
> Any suggestions on diagnosing this problem would be appreciated.
>
> --
> Barry Friedman
>
>
>
> _______________________________________________
> freebsd-proliant@... mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-proliant
> To unsubscribe, send any mail to "freebsd-proliant-unsubscribe@...
> "
>
_______________________________________________
freebsd-proliant@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-proliant
To unsubscribe, send any mail to "freebsd-proliant-unsubscribe@..."