- Plesk for Linux
The following messages appear if execute the following command:
# /usr/local/psa/admin/sbin/statistics --calculate-all
WARNING during statistics_collector execution: error: error accessing /var/www/vhosts/system/example.com/logs: No such file or directory
error: example.com:5 glob failed for /var/www/vhosts/system/example.com/logs/*.processed
is domain alias.
exists on the server.
The statistics utility calculates the statistics and rotates the logs using
configuration file. It tried to find logs for example.com that are not present on the system, because the example.com is a domain alias. It is possible that example.com previously was a real domain, but then it was changed to a domain alias and
was not removed for some reason.
- Connect to a server via SSH.
/usr/local/psa/etc/logrotate.d/example.comto a different directory:
# mv /usr/local/psa/etc/logrotate.d/example.com /root/