Syslog Error: imjournal: fscanf on state file imjournal.state
Syslog Stopped working and not printing the message logs.
Error#systemctl status rsyslog.service shows the following error
imjournal: fscanf on state file `/var/lib/rsyslog/imjournal.state' failed [v8.23.0 try http://www.rsyslog.com/e/2027 ]
ReasonFile /var/lib/rsyslog/imjournal.state got corrupted due to bad I/O.
Remove /var/lib/rsyslog/imjournal.state file and restart the rsyslog service
#systemctl restart rsyslog.service