Page 1 of 1

cron.daily logrotate error

Posted: 06 Aug 2017, 12:52
by marcele
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:

Code: Select all

etc/cron.daily/logrotate:
error: stat of /var/log/lfd_messenger.log failed: No such file or directory
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.

Re: cron.daily logrotate error

Posted: 10 Aug 2017, 14:44
by Nirjonadda
Still same issue we have, Please let me know this fix. Also I have enabled Messenger service then does this error issue fixed?