"error: state file /var/lib/logrotate/logrotate.status is already locked" が出力される
Issue
- 以下のメッセージが /var/log/message に記録されます。
logrotate[xxxxxx]: error: state file /var/lib/logrotate/logrotate.status is already locked
logrotate[xxxxxx]: logrotate does not support parallel execution on the same set of logfiles.
systemd[1]: logrotate.service: Main process exited, code=exited, status=3/NOTIMPLEMENTED
systemd[1]: logrotate.service: Failed with result 'exit-code'.
systemd[1]: Failed to start Rotate log files.
Environment
- Red Hat Enterprise Linux 9
- logrotate
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.