You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Daniel Hawke <da...@hotmail.com> on 2001/09/20 10:22:42 UTC

general/8368: Apache does not start and test does not pick up problem with directories not existing

>Number:         8368
>Category:       general
>Synopsis:       Apache does not start and test does not pick up problem with directories not existing
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Thu Sep 20 01:30:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     dannonz@hotmail.com
>Release:        1.3.20
>Organization:
apache
>Environment:
Windows 2000 Professional Service Pack 2 running Apache from MSI installer.
>Description:
Telling Apache to do a test of the httpd.conf file gave up no error, but Apache told me it could not [re]start.

Here were the lines causing the problem:
Errorlog e:/serve/Apache/DailyLaff/error.txt
CustomLog e:/serve/Apache/DailyLaff/access.txt common

Unfortunately these directories did not exist.  (The correct directory was e:/serve/Apache/logs/DailyLaff/)

These were contained in a virtualhost box.
>How-To-Repeat:
Put a directory that does not exist into a logging command, and try to restart apache.  It will not restart, but will report no error.
>Fix:
Change the -t switch to pick up directories in virtualhost logging commands that do not exist.
>Release-Note:
>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 make sure the]
 [subject line starts with the report component and number, with ]
 [or without any 'Re:' prefixes (such as "general/1098:" or      ]
 ["Re: general/1098:").  If the subject doesn't match this       ]
 [pattern, your message will be misfiled and ignored.  The       ]
 ["apbugs" address is not added to the Cc line of messages from  ]
 [the database 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!     ]