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

Re: [cobalt-users] webalizer..



> On one of my vsites's webalizer stats, almost the whole month of stats
> disappeared..  I only see day 23 and 24.  Can anyone explain to me what
> happened and how can I fix it?

Your vsite must be very busy!
I have two sites on my machine that are doing this. Every 2 days... *bink!*
everything's gone. It's like Webalizer starts over.
Nosing around through god knows where looking for info on this, I think I
might have found the answer.

Go into that vsite's /logs directory and see if you see a .tar.gz'd log
file.

If you do, I *think* this is what's happening:
The logs are getting bigger than your max log file size setting. When they
do, logrotate will zip 'em up and dump them there in the /logs directory in
case the site admin wants to look at them.
Then cron moves on to webalizer.pl (because it's later in the list
alphabetically) and webalizer's got nothing to look at. So it builds its
info off of what's there - which is a new, much shorter version of the
logfiles.

What Zeffie and I tried is naming 'webalizer.pl' to 'awebalizer.pl' so that
every night, cron will hit webalizer *first* and then go on to logrotate.
I'm watching this for a few days to see if this works. It *seems* that it
is, but the sites have gotten lower than normal traffic this week so maybe
the log file size hasn't been triggered yet.
If it doesn't work, I'm going to go hunting around on some logfile size
settings.

Hope that helps?

CarrieB