Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

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

From: <bugzilla(at)apache.org>
Date: Tue Apr 30 2002 - 10:11:04 EDT


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 Received on Tue Apr 30 14:11:02 2002

This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 16:43:16 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library