Symptoms
Webalizer website statistics does not show relevant data.
Cause
Webalizer configuration file for the domain is incorrect or lost.
Resolution
-
Connect to the server via SSH
-
Rebuild Webalizer configuration file for the affected domain:
# /usr/local/psa/admin/sbin/webstatmng --set-configs --stat-prog=webalizer --domain-name=example.com < /dev/null
-
Recalculate Webalizer statistics by running the following commands:
# /usr/local/psa/admin/sbin/webstatmng --calculate-rotated-statistics --stat-prog=webalizer --domain-name=example.com
# /usr/local/psa/admin/bin/statistics --generate-domain-webstat --domain-name=example.com