Turn On and Update Plesk Stat

Stat in one of servers is turn off and doesn’t updating for two days.

Check ‘root’ user crontab
crontab -l

output : 7 4 * * * /usr/local/psa/admin/sbin/statistics >/dev/null 2>&1

Check cron logs for records about the statistic utility executions
vi /var/log/cron

Check apache logs size. Make sure no bigger than 2GB.

Check database directories (mysql : /var/lib/mysql) have read/write permissions to ‘mysql’ user

If every conditions above fit with your settings, then we must Run :
/usr/local/psa/admin/sbin/statistics (for all sites in one server)

or

usr/local/psa/admin/sbin/statistics ?calculate-one ?domain-name=domain.com (only for one specific domain)

Leave a Reply