View Single Post
  #7  
Old 24th July 2008, 20:04
bolero bolero is offline
Senior Member
 
Join Date: Apr 2008
Posts: 114
Thanks: 2
Thanked 6 Times in 6 Posts
Default

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:

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

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

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

l /var/www/www.example.de/log/2008/07/web.log -rw-r--r-- 1 web1admin web1 21227 Jul 24 00:30 /var/www/www.example.de/log/2008/07/web.log

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