You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Lew Payne <le...@lppi.com> on 2002/04/09 04:16:47 UTC

Apache overwrites error log!

I am having a problem, and don't know if it's Apache-related
or not.  At random times, Apache will overwrite the error log
file for the virtual host.  It will start writing from the
beginning of the file, clobbering what's already there.

This particular client is set up with FreeBSD 4.5-REL and
Apache/1.3.23 (Unix).  There is nothing unusual about this
installation, other than the fact it's an extremely busy
site and supports a few dozen name-based virtual hosts as
well as IP-based virtual hosts.

The example below shows the day's error logfile... and as
you can see, Apache started to write to the beginning of
the file, instead of "appending" to it.

I've also noticed this behavior on a development box,
which has very little load on it at all.  Any clues ??


# ls -als err*
1712 -rw-r--r--  1 root  www  1728901 Apr  8 18:41 error_log

# grep -i errorlog /usr/local/etc/apache/virthost.conf
ErrorLog      /www/stats.sex.com/www.sex.com/error_log

# more error_log (first two records shown)
[Mon Apr  8 15:44:13 2002] [error] [client 195.92.67.66]
  File does not exist: /usr/www/sexcom/www/db
[Mon Apr  8 15:44:14 2002] [error] [client 195.92.168.164]
  File does not exist: /usr/www/sexcom/www/banners/07040204.jpg

# tail -2 error_log  (last two records shown)
[Mon Apr  8 15:43:21 2002] [error] [client 66.28.250.176]
  File does not exist: /usr/www/sexcom/www/robots.txt
[Mon Apr  8 15:43:22 2002] [error] [client 66.28.250.176]
  File does not exist: /usr/www/sexcom/www/images/index_01-index_13_over.jpg

Thanks,
Lew Payne
lew@lppi.com


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org