Bug#237377: apache: Apache parent process dies at reload

2004-05-02 Thread Sam George
For what it's worth, I have the same problem here on an unstable box.  
I'm playing around with oscommerce using php4 and ssl on apache.  If 
apache is running and `apachectl graceful` is called apache shuts down. 
 So it's very easy to trigger.  Apache shuts down every time the logs 
are rotated.  If anyone wants additional info or if there are some 
tests I could run to be of assistance don't hesitate to contact me.

Also, it looks like bug #245963 should be merged with this one.
-cira
[begin log]
2 [EMAIL PROTECTED]:/home/cira # apachectl graceful
/usr/sbin/apachectl graceful: httpd not running, trying to start
[Sun May  2 08:20:33 2004] [warn] module ssl_module is already loaded, 
skipping
/usr/sbin/apachectl graceful: httpd started

3 [EMAIL PROTECTED]:/home/cira # psx |grep apache
man   1858  0.3  1.0  2092 1284 pts/49   S+   08:20   0:00  |   \_ 
man apachectl
root  1901  0.0  3.8 141588 4852 pts/56  S08:22   0:00 
/usr/sbin/apache
www-data  1903  0.0  3.8 141588 4856 pts/56  S08:22   0:00  \_ 
/usr/sbin/apache
www-data  1904  0.0  3.8 141588 4856 pts/56  S08:22   0:00  \_ 
/usr/sbin/apache

4 [EMAIL PROTECTED]:/home/cira # apachectl graceful
/usr/sbin/apachectl graceful: httpd gracefully restarted
5 [EMAIL PROTECTED]:/home/cira # psx |grep apache
man   1858  0.2  1.0  2092 1284 pts/49   S+   08:20   0:00  |   \_ 
man apachectl

6 [EMAIL PROTECTED]:/home/cira # /etc/init.d/apache start
Starting web server: apache[Sun May  2 08:55:27 2004] [warn] module 
ssl_module is already loaded, skipping


Re: Bug#237377: apache: Apache parent process dies at reload

2004-03-12 Thread Fabio Massimo Di Nitto

Hej Rasmus,

On Thu, 11 Mar 2004, Rasmus Bøg Hansen wrote:

 Package: apache
 Version: 1.3.26-0woody3
 Severity: important
 Tags: woody

[SNIP]

 I have loaded PHP4 and mod_ssl; no other external modules are configured
 nor installed.

 A log snippet from this morning:

 [Thu Mar 11 07:00:31 2004] [notice] SIGUSR1 received.  Doing graceful restart
 accept_mutex_on: Identifier removed
 [Thu Mar 11 07:00:36 2004] [notice] Apache/1.3.26 (Unix) Debian GNU/Linux 
 PHP/4.1.2 mod_ssl/2.8.9 OpenSSL/0.9.6g configured -
 - resuming normal operations
 [Thu Mar 11 07:00:36 2004] [notice] suEXEC mechanism enabled (wrapper: 
 /usr/lib/apache/suexec)
 [Thu Mar 11 07:00:36 2004] [notice] Accept mutex: sysvsem (Default: sysvsem)
 [Thu Mar 11 07:00:36 2004] [alert] Child 31317 returned a Fatal error...
 Apache is exiting!

 No other logs tell anything about where the problem comes from.
 Logrotate just runs /etc/init.d/apache reload.

 The server is not busy in any way; nor does it serve large files. It
 runs a simple web page and some php webmail (IMP2) over ssl; nothing fancy.

Unfortunatly this is a known problem that seems to be caused by several
different factors (php4, ssl, libcrypto and libc) and it can't be fixed in
woody. We are still waiting for a fix in sid (where bugs have been filed
towards the relevant packages). A possible workaround could be to change
the restart with a stop and start but this behaviour is unpredictable and
not always reproducible.

Mange Tak
Fabio

-- 
user fajita: step one
fajita Whatever the problem, step one is always to look in the error log.
user fajita: step two
fajita When in danger or in doubt, step two is to scream and shout.