Symptoms
You receive an email containing an error similar to the following.
Error: Failed to detect code [kxL3RW53YXXGN7S] in SYSLOG_LOG [/var/log/messages]
Description
The error occurs when CSF doesn't detect an expected message in the system log file. There are various reasons for this, such as the rsyslog
or systemd-journald
service not running, rate limiting for the system log, or the system log file not being present or set to immutable. The system administrator should resolve the underlying cause. However, the CSF's syslog check can be disabled to prevent the messages from being generated.
Procedure
- Access the server's command line as the 'root' user via SSH or "Terminal" in WHM.
- Open
/etc/csf/csf.conf
in your preferred text editor. - Locate the
SYSLOG_CHECK
entry. - Set
SYSLOG_CHECK
to0
.SYSLOG_CHECK = "0"
- Save the changes and exit the text editor.
- Restart CSF.
csf -r
Please note that cPanel doesn't provide or install CSF. CSF is developed and supported by ConfigServer.
Comments
0 comments
Article is closed for comments.