- 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.
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.