• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

Resolved Logrotation not working

Jens Johansson

Basic Pleskian
Server operating system version
CloudLinux 8.10
Plesk version and microupdate number
Plesk Obsidian 18.0.64
Hi,

one of our server is not rotating their logs (maillog, maillog.processed, fail2ban.log, messages, secure, etc.). I made sure that /etc/cron.daily/logrotate is present. rsyslog is installed and active.

To fix the issue I tried to move the file /usr/local/psa/var/logrotate.status and executed /usr/local/psa/bin/sw-engine-pleskrun /usr/local/psa/admin/plib/DailyMaintainance/script.php -f ExecuteStatistics But this rotated the logs only once.
 
@JVG Thank you very much that solved the problem. Now that I think of it, it's very obvious, but I didn't check for that.
Yeah, the same thing happened to me, after reviewing every logrotate file and service, finally I checked the cron service and voilá.
 
Back
Top