Article ID: 124610, created on Feb 26, 2015, last review on Feb 26, 2015

  • Applies to:
  • Plesk for Linux/Unix


Logs are not being rotated for domain


The '/usr/local/psa/var/logrotate.status' file got corrupted.

That file is where logrotate stores information about when it last rotated each log file.


Move '/usr/local/psa/var/logrotate.status' file and run daily maintenance:

mv /usr/local/psa/var/logrotate.status /usr/local/psa/var/logrotate.status_old
/usr/local/psa/bin/sw-engine-pleskrun /usr/local/psa/admin/plib/DailyMaintainance/script.php

Check if proper 'logrotate.status' is created:

less /usr/local/psa/var/logrotate.status | grep
"/var/www/vhosts/system/" 2014-10-13
"/var/www/vhosts/system/" 2014-10-13
"/var/www/vhosts/system/" 2014-10-13
"/var/www/vhosts/system/" 2014-10-13

Search Words


log rotation

Log rotation doesn't work

Logrotation does not work

29d1e90fd304f01e6420fbe60f66f838 56797cefb1efc9130f7c48a7d1db0f0c a914db3fdc7a53ddcfd1b2db8f5a1b9c

Email subscription for changes to this article
Save as PDF