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
example.com is domain alias.
/usr/local/psa/etc/logrotate.d/example.com exists on the server.
The statistics utility calculates the statistics and rotates the logs using
/usr/local/psa/etc/logrotate.d/example.com 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
/usr/local/psa/etc/logrotate.d/example.com was not removed for some reason.
/usr/local/psa/etc/logrotate.d/example.com to a different directory:
# mv /usr/local/psa/etc/logrotate.d/example.com /root/