"error: state file /var/lib/logrotate/logrotate.status is already locked" is output

Solution In Progress - Updated -

Issue

  • The below messages are logged in /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.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content