[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [cobalt-developers] webalizer and raq4



seem to be getting somewhere...

is looks like logrotate is to blame, when i manually try and run it..

[root cron.daily]# ./logrotate
error: ftpd:1 duplicate log entry for /var/log/xferlog

although i deleted the original xferlog, rebooted, made it create a new
entry (i ftp'd to the server) and it still comes up with the error. the date
that the first entry in xferlog has, is the last date in the webalizer
stats. any further ideas ??



-----Original Message-----
From: cobalt-developers-admin@xxxxxxxxxxxxxxx
[mailto:cobalt-developers-admin@xxxxxxxxxxxxxxx]On Behalf Of Kul
Sent: 06 March 2001 09:53
To: cobalt-developers@xxxxxxxxxxxxxxx
Subject: Re: [cobalt-developers] webalizer and raq4


Nick Crabtree wrote:

> thanks for the info so far... the stats still are still only showing up
for
> february. I have manually run webalizer, so in theory it should create the
> march entries ?? any further ideas ?
>

Hi Nick,
Have you checked the log files for the sites, do they actually have stuff in
them for access to the sites?   If they are not being updated by "logrotate"
properly, they may be non-existant or even empty, I think on the Raq3 (raq4
is similar) they are here, try this:
    tail -100 /home/sites/siteX/logs/web.log
Also you may want to check that stuff is going in them, and also the main
access log file (where logrotate reads from at 4 am):
    tail -100 /home/log/httpd/access

If logrotate is working correctly, the file in the siteX directory should
contain stuff from before 4am today !  The access log (main one) will
contain ALL sites stuff from the current time to 4am (ie the rest)  This
file is used by logrotate to create the new web.log files!

Silly question here: But you havn't edited the httpd.conf file have you? and
altered CustomLog entries (near the top) or added any TransferLog or
CustomLog in the VirtualHost container tags ?

--
Regards,
Kul


_______________________________________________
cobalt-developers mailing list
cobalt-developers@xxxxxxxxxxxxxxx
http://list.cobalt.com/mailman/listinfo/cobalt-developers