OS type and version
Ubuntu Linux 22.04.3
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:
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.
syslog exists, but csf is trying to look at /var/log/ messages
Again, I’m not sure what logs are added where, when anymore.
root@main:/var/log# apt list rsyslog
rsyslog/oldstable,oldstable-security,now 8.2102.0-2+deb11u1 amd64 [installed]
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 ?