Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

DO NOT REPLY [Bug 11303] New: - message not logged to error_log if directory exists in place of a log file specification

From: <bugzilla(at)apache.org>
Date: Tue Jul 30 2002 - 14:00:41 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=11303>. 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=11303

message not logged to error_log if directory exists in place of a log file specification

           Summary: message not logged to error_log if directory exists in
                    place of a log file specification
           Product: Apache httpd-1.3
           Version: 1.3.26
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: core
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: dduane@duane.com

I couldn't get httpd to start, and I couldn't figure out why, since all it would tell me is that httpd failed. Nothing was logged to the error_log file, even when I set LogLevel to debug. I narrowed the problem down to this: I had a directory called combined_log created where there should have been a file called combined_log. I.e, in httpd.conf, I had the following

<VirtualHost 10.0.0.11>
ServerName www.ethos.org
ServerAdmin dduane@duane.com

DocumentRoot /home/ethos
CustomLog    /home/ethos/logs/combined_log combined
ErrorLog     /home/ethos/error_log
TransferLog  /home/ethos/logs/access_log
</VirtualHost>

and when I did an ls -l in /home/ethos/logs I got [root@traction conf]# cd /home/ethos/logs [root@traction logs]# ls -l
total 232
-rw-r--r-- 1 ethos ethos 53042 Jul 30 00:44 access_log

drwxr--r--    1 ethos    ethos        4096 Jul 29 20.55 combined_log/

-rw-rw-r-- 1 root root 5133 Jul 23 20:52 ctry_usage_200207.png
-rw-rw-r-- 1 root root 2843 Jul 23 20:52 daily_usage_200207.png
-rw-r--r-- 1 ethos ethos 45136 Jul 30 13:31 error_log
-rw-rw-r-- 1 root root 1924 Jul 23 20:52 hourly_usage_200207.png
drwxr-xr-x 3 ethos ethos 4096 Apr 4 2000 html/
-rw-rw-r-- 1 root root 3728 Jul 23 20:52 index.html
-rw-rw-r-- 1 root root 86968 Jul 23 20:52 usage_200207.html
-rw-rw-r-- 1 root root 2139 Jul 23 20:52 usage.png
-rw-rw-r-- 1 root root 35 Jul 23 20:52 webalizer.hist
It was somewhat painful to track this error down as no error message was created in error_log and I have many virtual hosts. Thanks for looking into it.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org For additional commands, e-mail: bugs-help@httpd.apache.org Received on Tue Jul 30 18:00:19 2002

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


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