Symptoms
The system logs, including messages
and maillog
, are no longer updating.
Description
The issue occurs when the rsyslog
PID and/or state files become corrupt. The files must be moved out of the way so that they can be regenerated.
Procedure
- Access the server's command line as the 'root' user via SSH or "Terminal" in WHM.
- Stop the
rsyslog
service.systemctl stop rsyslog
- Move aside the PID file.
mv -v /var/run/rsyslogd.pid{,.$(date +%s)}
- Move aside the state file.
mv -v /var/lib/rsyslog/imjournal.state{,.$(date +%s)}
- Restart the
rsyslog
service.systemctl start rsyslog
Comments
0 comments
Article is closed for comments.