Friday, February 29, 2008

Updating Webstats

Hi,

I came accross the problem of updating the webstats, particularly AWstats were not getting updated. I found the solution.... please verify and tell me if this does not work...

/usr/local/cpanel/3rdparty/bin/webalizer -n blumarten.com -o /home/blumartn/tmp/webalizer /usr/local/apache/domlogs/blumarten.com

/usr/local/cpanel/3rdparty/bin/webalizer ---->path for location of webalizer stats
-n blumarten.com --->hostname
-o /home/blumartn/tmp/webalizer ---->path of output directory
/usr/local/apache/domlogs/blumarten.com --->path for log files


UPDATING AWSTATS:
cd /home/blumartn/tmp/awstats
locate awstats.pl
cp /usr/local/cpanel/base/awstats.pl .
chown blumartn:blumartn awstats.pl
perl awstats.pl - config=blumarten.com - update

No comments: