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

[cobalt-developers] Webalizer 1.30 to 2.01 migration (step-by-step)



Thanks again for your help Peter, everything seemed to be going well until
yesterday when the stats dropped suddenly once again.

I have renamed webalizer to awebalizer in the cron.daily file so it runs
before logrotate?

If you have any ideas as to why i'm still getting the major drops I woulf be
very grateful.

Alec Woolford


> wget ftp://ftp.mrunix.net/pub/webalizer/webalizer-2.01-06-linuxelf-bin.tgz
> tar zxvf webalizer-2.01-06-linuxelf-bin.tgz
> cd webalizer-2.01-06-linuxelf
> cp webalizer /usr/bin/webalizer
> wget
ftp://speakeasy.rpmfind.net/linux/redhat/6.2/en/os/i386/RedHat/RPMS/libpng-1
.0.5-3.i386.rpm
> rpm -i libpng-1.0.5-3.i386.rpm
>
> Thats all there is to it. The new webalizer also has dns resolving, so I
> edited /etc/cron.daily/webalizer.pl and changed this line:
> `webalizer -n $asite -s $asite -r $asite -q -Q -T -o $thepath
$prefix/$asite/logs/web.log`;
> to:
> `webalizer -p -D /home/dnscache.db -N 15 -n $asite -s $asite -r
$asite -q -Q -T -o $thepath $prefix/$asite/logs/web.log`;
> The /home/dnscache.db file is used to store the dns information. You can
> leave it there, and you don't have to remove it. It just builds up every
> time you use webalizer. It could grow to several Mb's but thats no problem
> on the /home partition.
> The -p command means incremental. I dunno why I use it, but it seems to
> work ok.
> -N 15 is the number of dns resolve processes that webalizer will start.
> You can modify that to your own needs.
> webalizer will probably run a bit longer than normal due to the dns
> resolving. If it gives problems, just remove the -D and -N param.
> I forgot to mention on cobalt-users that this has been successfully done
> on RaQ3 and RaQ4* boxes.
>
> Met vriendelijke groet/With kind regards,
>
> Peter Batenburg
>
> ProServe B.V.
> Prisma 100
> 3364 DJ Sliedrecht
> Tel.: 0184 - 423 815
> Fax: 0184 - 417 160
> http://www.proserve.nl
>
> **********************************************************************
> This email and any files transmitted with it are confidential and
> intended solely for the use of the individual or entity to whom they
> are addressed. If you have received this email in error please notify
> the sender by replying the email and please remove
> the files from your computer.
>
> This footnote also confirms that this email message has been swept
> for the presence of computer viruses.
> **********************************************************************
>
> On Thu, 11 Oct 2001, Alec Woolford wrote:
>
> > I currently have Webalizer 1.30 is currently installed on a Raq4 server
and
> > have noticed one days worth of stats missing each week for the past few
> > months.
> >
> > It seems to be getting worse, there have been no stats generated at all
for
> > the past week on all sites!
> >
> > There does not appear to be a man file for Webalizer, but I have renamed
the
> > /etc/logrotate.onboot/apache  to  /etc/logrotate.onboot/zapache, but
this
> > does not appear to have done anything.
> >
> > Can anyone help?
> >
> > Should I upgrade to 2.01 or would that cause further problems?
> >
> >
> > _______________________________________________
> > cobalt-developers mailing list
> > cobalt-developers@xxxxxxxxxxxxxxx
> > http://list.cobalt.com/mailman/listinfo/cobalt-developers
> >
>
> _______________________________________________
> cobalt-developers mailing list
> cobalt-developers@xxxxxxxxxxxxxxx
> http://list.cobalt.com/mailman/listinfo/cobalt-developers
>