Error: Failed to detect code in SYSLOG_LOG
On my email arrives and up to 5 messages per minute with the following content.
lfd on server.mydomain.net: SYSLOG Check Failed
Time: Thu Feb 4 18:49:32 2016 +0100
Error: Failed to detect code [rgRtokM5tdB7Uect0OCrQBCGFL6Gv] in SYSLOG_LOG [/var/log/messages]
SYSLOG may not be running correctly on server.mydomain.net
When in Main >> Server Status >> Service Status disable LFD then it's ok. How can I solve this problem but it does not have to disable LFD?
When in Main >> Server Status >> Service Status disable LFD then it's ok. How can I solve this problem but it does not have to disable LFD?
-
Hello :) Please keep in mind that CSF/LFD is a third-party application. You may want to report this issue on their forums: ConfigServer Community Forum - Index page Also, as far as your server, ensure that Rsyslogd is running: /scripts/restartsrv_rsyslogd --status
Thank you.0 -
Hello, i have the same problem in a new server i just installed few minutes ago... i know the lfd alerts are from lfd that is not a cpanel product, however, the alert is send because there is a problem with rsyslogd, in my case rsyslog is not running but i cannot make it start, it isnt listed in Service Configuration "Service Manager as my other servers, root@server [~]# /scripts/restartsrv_rsyslogd --status (XID r7hugc) The "rsyslog" service is disabled.
root@server [~]# /scripts/restartsrv_rsyslogd (XID aews88) The "rsyslog" service is disabled. root@server [~]# service rsyslog start Redirecting to /bin/systemctl start rsyslog.service Failed to start rsyslog.service: Unit rsyslog.service failed to load: No such file or directory. root@server [~]# service rsyslogd start Redirecting to /bin/systemctl start rsyslogd.service Failed to start rsyslogd.service: Unit rsyslogd.service failed to load: No such file or directory. root@server [~]# service syslog start Redirecting to /bin/systemctl start syslog.service Failed to start syslog.service: Unit syslog.service failed to load: No such file or directory.
It seems that syslog is not installed on server ... im confused0 -
I manually installed rsyslog it wasn't installed, but is strange, i have 22 servers and i never needed install it manually, its strange... 0 -
I manually installed rsyslog it wasn't installed, but is strange, i have 22 servers and i never needed install it manually, its strange...
Hello :) I am happy to see you were able to address the issue. It's possible this server utilized the "syslogd" package instead of "rsyslogd". You can browse to "WHM >> Service Configuration >> Service Manager" to see if you see multiple services installed (one for syslogd and one for rsyslogd). Otherwise, it's difficult to pinpoint a specific reason why rsyslog was missing from your system. Thank you.0 -
I had the same problem and I confirmed that Rsyslogd was running. Looked all over the web for an answer the best I could find was: Open etc/csf/csf.conf Set SYSLOG_CHECK to 0. Restart LFD/CSF Not an ideal solution, but it stops the warnings. Obviously, don't use this if Rsyslogd isn't actually running. This seems to be a common problem, so I hope someone will actually figure it out. 0
Please sign in to leave a comment.
Comments
5 comments