Skip to main content

Error: Failed to detect code in SYSLOG_LOG

Comments

5 comments

  • cPanelMichael
    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
  • tui
    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 confused
    0
  • tui
    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
  • cPanelMichael
    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
  • fingerprn
    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.