rsyslog log contains the messages "imjournal: sd_journal_next() failed: Bad message" and "trying to recover from journal error". After these messages, rsyslog repeats old logs.
Issue
-
rsyslog
log containsimjournal: sd_journal_next() failed: Bad message
andtrying to recover from journal error
. And then,rsyslog
repeats old logs after the message.rsyslogd[3857]: imjournal: journal files changed, reloading... [v8.2102.0-5.el8 try https://www.rsyslog.com/e/0 ] : rsyslogd[3857]: imjournal: journal files changed, reloading... [v8.2102.0-5.el8 try https://www.rsyslog.com/e/0 ] rsyslogd[3857]: imjournal: journal files changed, reloading... [v8.2102.0-5.el8 try https://www.rsyslog.com/e/0 ] rsyslogd[3857]: imjournal: sd_journal_next() failed: Bad message [v8.2102.0-5.el8] rsyslogd[3857]: imjournal: sd_journal_next() failed: Bad message [v8.2102.0-5.el8] rsyslogd[3857]: imjournal: trying to recover from journal error [v8.2102.0-5.el8 try https://www.rsyslog.com/e/0 ] : (old logs) :
Environment
- Red Hat Enterprise Linux (RHEL) 7 and 8
- rsyslog
- systemd-journald
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.