• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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