Statistics fails with International Domain Name

S

sunmacet

Guest
We have one IDN (International Domain Name) and /usr/local/psa/admin/sbin/statistics fails with error:
error: error accessing /var/www/vhosts/xn--XXXXXXXXXXXX-3zai50oja.XX/statistics/logs: No such file or directory
error: xn--XXXXXXXXXXXX-3zai50oja.XX:1 glob failed for /var/www/vhosts/xn--XXXXXXXXXXXX-3zai50oja.XX/statistics/logs/*.processed
There is no such directory: /var/www/vhosts/xn--XXXXXXXXXXXX-3zai50oja.XX. Correct directory is /var/www/vhosts/xn--XXXXXXXXXXXX-tbci.XX.

(correct value is replaced with X for privacy reasons)

How to fix this?

Thank you for your time.
 
Hi,
It looks for me that such domain was removed from the server but logrotate config still remains in /usr/local/psa/etc/logrotate.d directory.
Check it and remove if it is there:
# ls /usr/local/psa/etc/logrotate.d/xn--XXXXXXXXXXXX-3zai50oja.XX
# rm /usr/local/psa/etc/logrotate.d/xn--XXXXXXXXXXXX-3zai50oja.XX
 
Back
Top