cron.daily logrotate error
Posted: 06 Aug 2017, 12:52
If the messenger is never enabled then the file /var/log/lfd_messenger.log is never created and you get this cron.daily error emailed to you:
I believe that adding the option "missingok" to the logrotate lfd_messenger.log entry will allow logrotate to skip the log file if it doesn't exist.
Code: Select all
etc/cron.daily/logrotate:
error: stat of /var/log/lfd_messenger.log failed: No such file or directory