Received: (qmail 75578 invoked by uid 501); 3 Apr 2001 13:44:52 -0000 Message-Id: <20010403134452.75577.qmail@apache.org> Date: 3 Apr 2001 13:44:52 -0000 From: Christophe BAEGERT Reply-To: cbaegert@europeanservers.net To: submit@bugz.apache.org Subject: when the log directory doesn't exist, "apachectl configtest" says OK, "apachectl start" says OK, but it crashes just after that ! X-Send-Pr-Version: 3.110 >Number: 7506 >Category: mod_log-any >Synopsis: when the log directory doesn't exist, "apachectl configtest" says OK, "apachectl start" says OK, but it crashes just after that ! >Confidential: no >Severity: serious >Priority: medium >Responsible: apache >State: closed >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Tue Apr 03 06:50:00 PDT 2001 >Closed-Date: Wed Aug 22 17:48:14 PDT 2001 >Last-Modified: Wed Aug 22 17:48:14 PDT 2001 >Originator: cbaegert@europeanservers.net >Release: 1.3.19 and previous releases >Organization: >Environment: Linux 2.4.1 and previous releases >Description: when the log directory doesn't exist, "apachectl configtest" says OK, "apachectl start" says OK, but it crashes just after that ! fopen: Aucun fichier ou répertoire de ce type (in english : no such file or directory) httpd: could not open error log file /var/log/ftp/logs/tests-error_log. >How-To-Repeat: Type "CustomLog /var/non-existing_directory/log/access.log" and restart apache ! >Fix: to control if the directory exists in "apachectl configtest", (I think it's too heavy to implement it at each start of apache) >Release-Note: >Audit-Trail: State-Changed-From-To: open-closed State-Changed-By: slive State-Changed-When: Wed Aug 22 17:48:14 PDT 2001 State-Changed-Why: Unfortunately, the configtest can only do very basic syntax checking (directive exists, right number of arguments). It is impossible for it to check the validity of all the arguments for every directive. Thanks for using Apache! >Unformatted: [In order for any reply to be added to the PR database, you need] [to include 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! ]