• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.

Resolved Logrotation not working

ESTUGO

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