Error Creating Output File /var/lib/logrotate/logrotate.status.tmp: File Exists

Home » CentOS » Error Creating Output File /var/lib/logrotate/logrotate.status.tmp: File Exists
CentOS No Comments

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:
X-Cron-Env:
X-Cron-Env:
X-Cron-Env:
X-Cron-Env:
X-Cron-Env:
X-Cron-Env:
X-Cron-Env:
X-Cron-Env:
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