You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2002/04/30 16:11:04 UTC

DO NOT REPLY [Bug 8659] New: - httpd fails to start if a (module's) log file isnt touch-ed

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8659>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8659

httpd fails to start if a (module's) log file isnt touch-ed

           Summary: httpd fails to start if a (module's) log file isnt
                    touch-ed
           Product: Apache httpd-2.0
           Version: 2.0.35
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Other Modules
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: gw@tgpsoftware.com


I've tried to include mod_gzip for httpd-2.0.xx.
It had debuging #define turned on by default, so i commented it out.  
When i tried to fire httpd back up after recompiling i got "Configuration
Failed" in the error log and it failed to start as well.
I explored the problem a bit further and noticed it has some thing to do
with a log file fopen()ing. 
If a certain function returns right in beginning, httpd wont start up.
But if the same function fopens a file, closes it back and returns
right after that, httpd runs normally.  

working version: http://www.tgpsoftware.com/mod_gzip.c
nonworking version: http://www.tgpsoftware.com/mod_gzip2.c

the only difference is in line# 374:  return;

It got me a bit confused. Can a module cause this?

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