[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cobalt-users] log files crash
- Subject: [cobalt-users] log files crash
- From: Toni Soto <planeta@xxxxxx>
- Date: Sat Sep 23 05:11:52 2000
Hello,
Since 2th of september (today is 23h) I don't have stats from webalizer
in my Raq3. I tried to find out what happened and I noticed that some
'web.log' files are missing or are not updated. It is supossed that
these files they should be in:
/home/sites/site12/logs/web.log
/home/sites/www.mysites.com/logs/web.log
In recently added new sites they simply don't exist. It seems that the
GUI don´t create them when I add a new virtual site. I try it many
times, removing a site and create it again, but I always failed. I don`t
know why.
In some of the old sites (sites added before 2th of september) these
files (web.log, ftp.log, mail.log) exists and some of them are updated
and others are NOT. Take a look to the examples:
Lists printed on 23th September 09:45 h.
Example 1:
1 -rw-r--r-- 1 root site8 265 Sep 21 04:02
ftp.cache.new
748 -rw-r--r-- 1 root site8 761362 Sep 21 04:02 ftp.log
1 -rw-r--r-- 1 root site8 655 Sep 21 04:02 ftp.stats
3 -rw-r--r-- 1 root site8 2284 Sep 23 01:02
mail.cache.new
115 -rw-r--r-- 1 root site8 115723 Sep 23 01:02 mail.log
6 -rw-r--r-- 1 root site8 6137 Sep 23 01:02 mail.stats
3 -rw-r--r-- 1 root site8 2677 Sep 23 01:00
web.cache.new
7224 -rw-r--r-- 1 root site8 7366604 Sep 23 01:00 web.log
647 -rw-r--r-- 1 root site8 658237 Aug 4 04:02 web.log.1.gz
4 -rw-r--r-- 1 root site8 3474 Sep 23 01:00 web.stats
Example 2:
1 -rw-r--r-- 1 root site4 918 Jun 23 04:02 ftp.cache
3 -rw-r--r-- 1 root site4 2369 Sep 23 01:00
ftp.cache.new
429 -rw-r--r-- 1 root site4 435381 Sep 23 01:00 ftp.log
14 -rw-r--r-- 1 root site4 12562 Sep 23 01:00 ftp.stats
0 -rw-r--r-- 1 root site4 0 Jun 23 04:03 mail.cache
0 -rw-r--r-- 1 root site4 0 Jun 24 04:03
mail.cache.new
0 -rw-r--r-- 1 root site4 0 Jun 13 04:02 mail.log
0 -rw-r--r-- 1 root site4 0 Jun 24 04:03 mail.stats
14 -rw-r--r-- 1 root site4 13064 Jun 23 04:02 web.cache
14 -rw-r--r-- 1 root site4 13064 Sep 23 01:00
web.cache.new
1972 -rw-r--r-- 1 root site4 2009704 Sep 2 04:02 web.log
215 -rw-r--r-- 1 root site4 218610 Aug 25 04:02 web.log.1.gz
20 -rw-r--r-- 1 root site4 18630 Sep 23 01:00 web.stats
Example 3:
0 -rw-r--r-- 1 root site6 0 Jun 23 04:02 ftp.cache
1 -rw-r--r-- 1 root site6 399 Aug 31 04:03
ftp.cache.new
41 -rw-r--r-- 1 root site6 40313 Aug 31 04:03 ftp.log
1 -rw-r--r-- 1 root site6 762 Aug 31 04:03 ftp.stats
0 -rw-r--r-- 1 root site6 0 Jun 23 04:03 mail.cache
1 -rw-r--r-- 1 root site6 376 Sep 23 01:02
mail.cache.new
17 -rw-r--r-- 1 root site6 15376 Sep 23 01:02 mail.log
1 -rw-r--r-- 1 root site6 777 Sep 23 01:02 mail.stats
59 -rw-r--r-- 1 root site6 58727 Jun 23 04:02 web.cache
59 -rw-r--r-- 1 root site6 58727 Sep 23 01:00
web.cache.new
453 -rw-r--r-- 1 root site6 459858 Sep 23 01:00 web.log
851 -rw-r--r-- 1 root site6 865859 Sep 2 04:02 web.log.1.gz
33 -rw-r--r-- 1 root site6 32587 Sep 23 01:00 web.stats
Maybe you wonder why some files have been created at 01:00. My cron job
for logrotate have been set up to 4:00 as usual, but I run manually at
01:00 h......
/usr/sbin/logrotate /etc/logrotate.conf
..and..
/etc/cron.daily/webalizer.pl
.. to check if they work. Anyway, after this manually run process it is
expected that the cron job should have done its job at 04:00 h. but, as
you can see, it didn't do its job very well.
I receive every day an e-mail message as this:
---------------------------------------------------