You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Malcolm Hutty <ma...@ivision.co.uk> on 1998/08/07 14:22:17 UTC

other/2804: corrupt httpd.conf causes unannounced exit on kill -1

>Number:         2804
>Category:       other
>Synopsis:       corrupt httpd.conf causes unannounced exit on kill -1
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Fri Aug  7 05:30:00 PDT 1998
>Last-Modified:
>Originator:     malcolm@ivision.co.uk
>Organization:
apache
>Release:        1.3
>Environment:
Bug tested to appear in 
FreeBSD flumps.ivision.co.uk 2.2.7-RELEASE FreeBSD 2.2.7-RELEASE #0: Wed Jul 22 08:48:29 GMT 1998
  root@builder.cdrom.com:/usr/src/sys/compile/GENERIC  i386
>Description:
If while Apache is running httpd.conf is edited to be syntatically incorrect
Apache will exit without any error logging.
>How-To-Repeat:
Run apache. Put garbage in httpd.conf. kill -1 apache-pid
>Fix:
Before restarting call `apachectl configtest` to test syntax of conf files. 
If syntax is wrong Log to syslog and/or STDERR. 
Then either exit or refuse to restart.
>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, ]
[you need to include <ap...@Apache.Org> in the Cc line ]
[and leave the subject line UNCHANGED.  This is not done]
[automatically because of the potential for mail loops. ]
[If you do not include this Cc, your reply may be ig-   ]
[nored unless you are responding to an explicit request ]
[from a developer.                                      ]
[Reply only with text; DO NOT SEND ATTACHMENTS!         ]