Webhosting Blog

Archive for October 7, 2010

Updating webalizer for a single domain


It might happen that the domain is unable to update its webalizer stats. The webalizer for a single domain can be updated with following steps:

 

[root@server ~]# cd /home/USER/tmp/

[root@server ~]# cp -af webalizer webalizer.old

[root@server ~]# cp -af webalizerftp webalizerftp.old

[root@server ~]# cd webalizer

[root@server ~]# /usr/local/cpanel/3rdparty/bin/webalizer /usr/local/apache/domlogs/domainname -n domainname

[root@server ~]# /scripts/runweblogs USER

This helps to execute a log run for a single user

The webalizer should now be updated for the domain.