Symptoms
System logs such as /var/log/messages, /var/log/maillog, and many others are no longer being created or are empty.
Cause
The most cause involves the functionality of rsyslog. Regenerating the files or reinstalling the service should resolve the issues.
Resolution
- Log in to the server via SSH or WHM's Terminal as the
rootuser If the files are missing, you can regenerate them automatically by restarting the services and sockets for systemd and rsyslog:
# systemctl restart systemd-journald.socket
# systemctl restart systemd-journald
# systemctl restart rsyslog
Otherwise, you may need to reinstall rsyslog to resolve the issue:
# dnf reinstall rsyslog
Comments
0 comments
Article is closed for comments.