Syslog will not start despite following instructions

I have double-checked the instructions here: https://docs.librenms.org/Extensions/Syslog/#syslog-ng and it appears that I have done everything correctly. When attempting to bring syslog-ng up I get the following:

Job for syslog-ng.service failed because the control process exited with error code.
See "systemctl status syslog-ng.service" and "journalctl -xeu syslog-ng.service" for details.

Output of systemctl status syslog-ng.service

librenms@librenms:~$ systemctl status syslog-ng.service
× syslog-ng.service - System Logger Daemon
     Loaded: loaded (/lib/systemd/system/syslog-ng.service; enabled; vendor preset: enabled)
     Active: failed (Result: exit-code) since Fri 2023-10-13 14:53:37 EDT; 42s ago
       Docs: man:syslog-ng(8)
    Process: 42327 ExecStart=/usr/sbin/syslog-ng -F $SYSLOGNG_OPTS (code=exited, status=1/FAILURE)
   Main PID: 42327 (code=exited, status=1/FAILURE)
     Status: "Starting up... (Fri Oct 13 14:53:37 2023"
        CPU: 2ms

Your thoughts? Running 23.9.1-85-gdf8889987 and Ubuntu 22.04.3 LTS

I have found some more information by running sudo syslog-ng -Fdev

[2023-10-13T20:35:36.578568] Module loaded and initialized successfully; module='afprog'
[2023-10-13T20:35:36.578656] Finishing include; filename='/etc/syslog-ng/conf.d/librenms.conf', depth='1'
[2023-10-13T20:35:36.578730] WARNING: Duplicate configuration objects (sources, destinations, ...) are not allowed by default starting with syslog-ng 3.3, add "@define allow-config-dups 1" to your configuration to re-enable;
Error parsing config, duplicate source definition in /etc/syslog-ng/syslog-ng.conf:164:1-167:2:
159     # Include all config files in /etc/syslog-ng/conf.d/
160     ###
161     @include "/etc/syslog-ng/conf.d/*.conf"
162     
163     
164---> source s_net {
164---> ^^^^^^^^^^^^^^^
165--->         tcp(port(514) flags(syslog-protocol));
166--->         udp(port(514) flags(syslog-protocol));
167---> };
168     
169     destination d_librenms {

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