You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Christophe BAEGERT <cb...@europeanservers.net> on 2001/04/03 15:44:52 UTC

mod_log-any/7506: when the log directory doesn't exist, "apachectl configtest" says OK, "apachectl start" says OK, but it crashes just after that !

>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:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Tue Apr 03 06:50:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     cbaegert@europeanservers.net
>Release:        1.3.19 and previous releases
>Organization:
apache
>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:
>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!     ]