Error: Failed to detect code [...] in SYSLOG_LOG [/var/log/messages]

SYSTEM INFORMATION
OS type and version Ubuntu Linux 22.04.3
Webmin version 2.101
Usermin version 2.001
Virtualmin version 7.8.2
Theme version 21.04
Package updates All installed packages are up to date

CSF installed, working
but setting syslog to anything but disable(0) i get the error:

Error: Failed to detect code […] in SYSLOG_LOG [/var/log/messages]
SYSLOG may not be running correctly on server.abc.com

in my setup:
/etc/csf/csf.syslogs

i see

Debian/Ubuntu:

/var/log/syslog

but in csf, it says:
SYSLOG_LOG = /var/log/messages (restricted UI item)

Does /var/log/messages exist? I know in Debian 12 it seems not to be there by default anymore. Just that new systemd stuff. If you want more traditional logging you might have to actually install syslog.

Again, this is a question since I don’t know what a default Ubuntu 22 does.

yes, /var/log/syslog exists, but csf is trying to look at /var/log/messages

Again, I’m not sure what logs are added where, when anymore. :frowning:

root@main:/var/log# apt list rsyslog
Listing... Done
rsyslog/oldstable,oldstable-security,now 8.2102.0-2+deb11u1 amd64 [installed]

Anyone ?
others must have found a way to change CSF to look at a different folder for SYSLOG
to change to: /var/log/syslog , instead csf is trying to look at /var/log/messages

if I nano /etc/csf/csf.syslogs
i see /var/log/syslog listed under ubuntu, so why does csf try and look under /var/log/messages ???

i do see in the same /etc/csf/csf.syslog, under #all, the ‘/var/log/messages’
so remove this from #all ?

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.