Why the message imjournal: rename() failed for new path: '/var/lib/rsyslog/imjournal.state': No such file or directory appears even if the file is existing?

Solution Unverified - Updated -

Issue

  • Below messages are appears in /var/log/messages even if the file /var/lib/rsyslog/imjournal.state is existing.

    Mar 18 20:28:15 hostname rsyslogd[212498]: imjournal: rename() failed for new path: '/var/lib/rsyslog/imjournal.state': No such file or directory [v8.1911.0-6.el8 try https://www.rsyslog.com/e/0 ]
    Mar 21 00:16:27 hostname rsyslogd[212498]: imjournal: rename() failed for new path: '/var/lib/rsyslog/imjournal.state': No such file or directory [v8.1911.0-6.el8 try https://www.rsyslog.com/e/0 ]
    

Environment

  • Red Hat Enterprise Linux 8
  • rsyslog

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