Apache2 crashes on reload
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apache2 (Ubuntu) |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: apache2
Apache2 recently started crashing on reload, a full restart of apache still works.
The error log shows:
Sun Oct 31 08:14:03 2010] [notice] Graceful restart requested, doing restart
[Sun Oct 31 08:14:03 2010] [notice] seg fault or similar nasty error detected in the parent process
Because it no longer reloads, apache is down after each logrotate.
System information:
* lsb_release -a (10-31 08:36)
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 8.04.4 LTS
Release: 8.04
Codename: hardy
* dpkg -l |grep apache
ii apache2 2.2.8-1ubuntu0.18 Next generation, scalable, extendable web se
ii apache2-mpm-prefork 2.2.8-1ubuntu0.18 Traditional model for Apache HTTPD
ii apache2-utils 2.2.8-1ubuntu0.18 utility programs for webservers
ii apache2.2-common 2.2.8-1ubuntu0.18 Next generation, scalable, extendable web se
ii libapache2-mod-php5 5.2.4-2ubuntu5.12 server-side, HTML-embedded scripting languag
* dpkg -l |grep php
ii libapache2-mod-php5 5.2.4-2ubuntu5.12 server-side, HTML-embedded scripting languag
ii php-pear 5.2.4-2ubuntu5.12 PEAR - PHP Extension and Application Reposit
ii php5 5.2.4-2ubuntu5.12 server-side, HTML-embedded scripting languag
ii php5-cgi 5.2.4-2ubuntu5.12 server-side, HTML-embedded scripting languag
ii php5-cli 5.2.4-2ubuntu5.12 command-line interpreter for the php5 script
ii php5-common 5.2.4-2ubuntu5.12 Common files for packages built from the php
ii php5-curl 5.2.4-2ubuntu5.12 CURL module for php5
ii php5-gd 5.2.4-2ubuntu5.12 GD module for php5
ii php5-gmp 5.2.4-2ubuntu5.12 GMP module for php5
ii php5-ldap 5.2.4-2ubuntu5.12 LDAP module for php5
ii php5-mysql 5.2.4-2ubuntu5.12 MySQL module for php5
ii phpldapadmin 1.1.0.4-2ubuntu1 web based interface for administering LDAP s
Changed in apache2 (Ubuntu): | |
assignee: | nobody → Clint Byrum (clint-fewbar) |
tags: | added: work-intensive |
Changed in apache2 (Ubuntu): | |
assignee: | Clint Byrum (clint-fewbar) → farhan saleh robleh (farhn) |
Changed in apache2 (Ubuntu): | |
assignee: | farhan saleh robleh (farhn) → nobody |
Hello Guy, thank you for taking the time to file this bug report and help us make Ubuntu better.
Can you enable core dumps for apache so we get a core file when it segfaults?
This *should* do the trick:
service apache2 stop
ulimit -c unlimited
service apache2 start
After it has crashed, you can backtrace it yourself:
gdb /usr/sbin/apache2 /path/to/core/file (probably /tmp/something, look in /var/log/error.log)
then run
'bt'
and paste the output here.
Marking Incomplete pending response from Guy.