Plesk is not updating the AWstats for a domain on a Linux Server and if you are trying to calculate for a domain you are getting the following error:

root@~# /usr/local/psa/admin/sbin/statistics --calculate-one --domain-name=domain.tld

WARNING during statistics_collector execution: : error: error accessing /usr/share/tomcat5/logs: No such file or directory
error: tomcat:2 glob failed for /usr/share/tomcat5/logs/*.log

To resolve this problem, there are 2 methods:

1- Install Tomcat


2- create a directory in your /root folder:
>>> cd /root
>>> mkdir logrotate_backup

3- And then run the following command:
>>> mv /usr/local/psa/etc/logrotate.d/tomcat /root/logrotate_backup/

4- After this calculate the stats manually again, using the following command:
>>> /usr/local/psa/admin/sbin/statistics –calculate-one –


How useful was this post?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate this post.