View Single Post
Old 24th July 2008, 21:04
bolero bolero is offline
Senior Member
Join Date: Apr 2008
Posts: 114
Thanks: 2
Thanked 8 Times in 8 Posts

Ok, it seems to be running at night, but no output. I ran it now from the shell and here's sample output for one web:

Fehler: Kann die Protokolldatei nicht ¦ffnen. /var/www/web1/log/web.log (symlink)

Erstelle Statistik Verzeichnis: /var/www/web1/web/stats

Log Dir: /var/www/web1/log
Max Log size: 157286400
Current Log size: 23776
l /var/www/web1/log/web.log
lrwxrwxrwx 1 web1admin web1 47 Jul 22 23:38 /var/www/web1/log/web.log -> /var/www/

l /var/www/ -rw-r--r-- 1 web1admin web1 21227 Jul 24 00:30 /var/www/

l /var/www/web1/web/stats
total 12
drwxr-xr-x 2 web1admin web1 4096 Jul 24 19:40 .
drwxrwxr-x 5 web1admin web1 4096 Jul 24 19:40 ..
-rw-rw-r-- 1 web1admin web1  124 Jul 24 19:40 .htaccess
Log has only hits from yesterday, I don't know if that should generate stats.

But the errors don't look good. First it can't find the log file, but then it knows the size (not exactly correct, though)?

What's going on here? On another setup I see that it happens for all logs that are not empty! Could it be the wrong log format? Which log format do we need? Did I overlook something in your setup guide for CentOS 5? (I don't remember anything about log formats.)
Reply With Quote