Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 3546

Raspberry Pi OS • Re: syslog-ng does not start on boot on Trixie

$
0
0
However, when rebooting the machine the syslog-ng daemon does not start. Manually trying to start it also fails.

Code:

# systemctl status syslog-ng○ syslog-ng.service - System Logger Daemon     Loaded: loaded (/usr/lib/systemd/system/syslog-ng.service; disabled; preset: enabled)     Active: inactive (dead)       Docs: man:syslog-ng(8)       
As this is a fresh boot, there is no information gleaned with "journalctl -xeu syslog-ng.service"
Possibly doesn't start because the syslog-ng service is disabled :roll:

Seems like something is amiss on your system. For instance, your /etc/syslog-ng directory is missing. Why is that?

Code:

-lR /etc/syslog-ng//etc/syslog-ng/:total 20drwxr-xr-x 2 root root 4096 May 10 04:12 conf.ddrwxr-xr-x 2 root root 4096 May 10 04:12 patterndb.ddrwxr-xr-x 2 root root 4096 Oct 14 09:49 python-rw-r--r-- 1 root root 5906 May 10 04:12 syslog-ng.conf /etc/syslog-ng/conf.d:total 0 /etc/syslog-ng/patterndb.d:total 0 /etc/syslog-ng/python:total 24-rw-r--r-- 1 root root 22316 May 10 04:12 README.md
and

Code:

cat /etc/default/syslog-ng # If a variable is not set here, then the corresponding# parameter will not be changed.# If a variables is set, then every invocation of# syslog-ng's init script will set them using dmesg. # log level of messages which should go to console# see syslog(3) for details##CONSOLE_LOG_LEVEL=1 # Command line options to syslog-ng#SYSLOGNG_OPTS="--no-caps"
NB I haven't used syslog-ng for years. I fully rely on the system journal for logging, since it is the source of all log content on a system, and forward to syslog-ng. Unless you've done away with systemd journaling...

Statistics: Posted by bls — Tue Oct 14, 2025 5:31 pm



Viewing all articles
Browse latest Browse all 3546

Trending Articles