Carlos Lopez
2018-Nov-13 14:12 UTC
[CentOS] error creating output file /var/lib/logrotate/logrotate.status.tmp: File exists
Hi all, I have configured a specific logrotate task to rotate certain logs every hour and everytime this logrotate's task runs, I am receiving an email like this: Auto-Submitted: auto-generated Precedence: bulk X-Cron-Env: <LANG=en_US.UTF-8> X-Cron-Env: <LC_ALL=en_US.UTF-8> X-Cron-Env: <XDG_SESSION_ID=4502> X-Cron-Env: <XDG_RUNTIME_DIR=/run/user/0> X-Cron-Env: <SHELL=/bin/sh> X-Cron-Env: <HOME=/root> X-Cron-Env: <PATH=/usr/bin:/bin> X-Cron-Env: <LOGNAME=root> X-Cron-Env: <USER=root> Date: Tue, 13 Nov 2018 11:00:04 +0000 (UTC) Status: R error: error creating output file /var/lib/logrotate/logrotate.status.tmp: File exists In Redhat's bugzilla I have seen some reported bugs with the same behavior and apparently is solved with an update. But this CentOS 7 host is fully patched and error persists ... Any idea? Regards, C. L. Martinez