Updating webalizer for a single domain

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

cd /home/USER/tmp/

cp -af webalizer webalizer.old

cp -af webalizerftp webalizerftp.old

cd webalizer

/usr/local/cpanel/3rdparty/bin/webalizer /usr/local/apache/domlogs/domainname -n domainname

/scripts/runweblogs USER

The webalizer should now be updated for the domain.