After some weeks, logrotate failed with different error caused by MYSQL: ● logrotate.service - Rotate log files Loaded: loaded (/lib/systemd/system/logrotate.service; static; vendor preset: enabled) Active: failed (Result: exit-code) since Wed 2020-06-24 08:29:59 EEST; 44s ago TriggeredBy: ● logrotate.timer Docs: man:logrotate(8) man:logrotate.conf(5) Process: *** ExecStart=/usr/sbin/logrotate /etc/logrotate.conf (code=exited, status=1/FAILURE) Main PID: *** (code=exited, status=1/FAILURE)
Jun 24 08:29:56 ******** systemd[*]: Starting Rotate log files... Jun 24 08:29:59 ******** logrotate[***]: error: error running shared postrotate script for '/var/log/mysql.log /var/log/mysql/*log ' Jun 24 08:29:59 ******** systemd[*]: logrotate.service: Main process exited, code=exited, status=1/FAILURE Jun 24 08:29:59 ******** systemd[*]: logrotate.service: Failed with result 'exit-code'. Jun 24 08:29:59 ******** systemd[*]: Failed to start Rotate log files. (Hostname and PIDs are replaced by *) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1883489 Title: Logrotate failed to start in LUbuntu 20.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1883489/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs