Symptoms
On a server running CloudLinux or Almalinux, system logs such as /var/log/messages, /var/log/secure, and /var/log/maillog are missing.
Cause
If the rsyslog package is not installed, these logs will not be present or written to.
Resolution
Install the rsyslog package to populate these logs:
- Access the server's command line as the
rootuser via SSH or Terminal in WHM. Install the
rsyslogpackage:# dnf install rsyslog
- Log in to WHM as the
rootuser. - Navigate to Home / Service Configuration / Service Manager.
- Scroll down to rsyslog System Logger Daemon.
- Ensure both checkboxes are selected.
- Click the Save button.
Comments
0 comments
Article is closed for comments.