Article 5BYY0 [CHANGE REQUEST] missing /var/log/spooler - logrotate error - proposed solution

[CHANGE REQUEST] missing /var/log/spooler - logrotate error - proposed solution

by
sovteq
from LinuxQuestions.org on (#5BYY0)
Daily cron is rotating logs. I have this error

logrotate: ALERT - exited abnormally.

I got an email with message:

error: stat of /var/log/spooler failed: No such file or directory

After research, similar problem was with redhat:

https://access.redhat.com/solutions/1319273

Proposed solution:

add missingok flag in /etc/logrotate.d/sysloglatest?d=yIl2AUoC8zA latest?i=VfrpZcXrtFM:JOZ640jdjUE:F7zBnMy latest?i=VfrpZcXrtFM:JOZ640jdjUE:V_sGLiP latest?d=qj6IDK7rITs latest?i=VfrpZcXrtFM:JOZ640jdjUE:gIN9vFwVfrpZcXrtFM
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments