httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 31086] New: - ErrorLog on VirtualHost crashes apache if directory does not exist
Date Tue, 07 Sep 2004 10:19:20 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=31086>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=31086

ErrorLog on VirtualHost crashes apache if directory does not exist

           Summary: ErrorLog on VirtualHost crashes apache if directory does
                    not exist
           Product: Apache httpd-1.3
           Version: 1.3.29
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: core
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: wilco@baanhofman.nl


If the directory does not exists which should contain the error log for a 
virtual host (say a user deletes their logs directory, or it wasn't created yet 
at the time apache starts, gets SIGUSR1 or receives a hit on the page).. apache 
crashes with a "No such file or directory" error.

Apache should not crash on error logs on virtual hosts.

The log entry from the general error.log:

fopen: No such file or directory
apache: could not open error log file /home/http/domain.tld/logs/error.log

If that logs directory doesn't exist it crashes apache.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message