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

Re: [cobalt-developers] webalizer - missing days



At 07:35 AM 5/10/2001 -0400, you wrote:
> "Dico Reyers" <dico@xxxxxxxxxxxxxxxx> wrote:
> > I have a Raq4r with webalizer 2.01 running on it.  Sometimes when I
check
> a
> > site's stats it seems to have dropped days.  For example on one of the
> > sites this month it doesn't show any stats from the 1st to the 6th, but
it
> > does show stats from the 7th on.  There were stats for the whole month
> when
> > I checked a couple days ago.  This has happened before and I am not sure
> > what causes it.
>
> Go to the shell and type "man webalizer" and read it.  Make sure your
> webalizer script uses the "-p" flag (read about in manual) for incremental
> processing.  If that's not the problem follow up to let us know.
> Steve Werby

on a raq4 with "massive hits" on a site... the logrotation program will wipe
them all away before webalizer ever has a chance....  What I do is...
mv /etc/logrotate.d/apache /etc/logrotate.d/zapache
and
mv /etc/logrotate.onboot/apache /etc/logrotate.onboot/zapache

The stats will hicup for a day and to avoid that... well it depends on your
install of webalizer
one example would be
cp /etc/cron.daily/webalizer.pl /etc/cron.daily/awebalizer.pl

then get rid of it after a day or two....

Zeffie
http://www.zeffie.com/


What is considered a "massive" amount of hits on a Raq4r server? I telneted in and typed "man webalizer" in hopes of finding out some information but this didn't work.

Even individual sites that only get roughly 100 visits per day (some 500 pages perhaps) have days missing. By doing the following:

mv /etc/logrotate.d/apache /etc/logrotate.d/zapache
and
mv /etc/logrotate.onboot/apache /etc/logrotate.onboot/zapache


what exactly does that do? Do I only have to type this once and it'll work fine from then on in? Or is there something I have to change in the webalizer configuration? I just downloaded the .pkg file and installed it.

Thanks,

-dr