syslog-ng with default config cannot be started: Error parsing source, source plugin system not found in /etc/syslog-ng/syslog-ng.conf at line 25, column 14: source src { system(); internal(); }; ^^^^^^ syslog-ng documentation: http://www.balabit.com/support/documentation/?product=syslog-ng mailing list: https://lists.balabit.hu/mailman/listinfo/syslog-ng Reproducible: Always Steps to Reproduce: 1. emerge --depclean syslog-ng 2. emerge syslog-ng 3. service syslog-ng restart Actual Results: * Caching service dependencies ... [ ok ] * Checking your configfile (/etc/syslog-ng/syslog-ng.conf) ... Error parsing source, source plugin system not found in /etc/syslog-ng/syslog-ng.conf at line 25, column 14: source src { system(); internal(); }; ^^^^^^ syslog-ng documentation: http://www.balabit.com/support/documentation/?product=syslog-ng mailing list: https://lists.balabit.hu/mailman/listinfo/syslog-ng * Configuration error. Please fix your configfile (/etc/syslog-ng/syslog-ng.conf) [ !! ] * ERROR: syslog-ng failed to start Expected Results: It should have started without errors
Please attach the output from emerge --info and the build log from building the package.
Created attachment 439274 [details] emerge --info
Created attachment 439276 [details] app-admin:syslog-ng-3.7.3:20160701-060350.log
Fresh emerge --info, and build log from another build run have been added. (Problem still persists on this machine)
Does not this line source src { system(); internal(); }; should be OpenRC - source src { unix-stream("/dev/log"); internal(); }; Systemd - source src { systemd-journal(); internal(); }; As per WIKI? https://wiki.gentoo.org/wiki/Syslog-ng#Files
(In reply to lebarondemerde from comment #5) > Does not this line > > source src { system(); internal(); }; > > should be > > OpenRC - source src { unix-stream("/dev/log"); internal(); }; > Systemd - source src { systemd-journal(); internal(); }; > > As per WIKI? > > https://wiki.gentoo.org/wiki/Syslog-ng#Files No, it should not. People should always use system() unless they know exactly what they are doing. This is how it works: https://www.balabit.com/documents/syslog-ng-ose-latest-guides/en/syslog-ng-ose-guide-admin/html/configuring-source-system.html Further, the use of system() results in a sufficiently large receive buffer to avoid the problem described in bug 406623. Markus, please run syslog-ng -V and confirm that "system-source" is among the list of available modules. Assuming that it is, your error could be caused by failing to include scl.conf. Therefore, please also double-check that syslog-ng.conf is exactly the same as the Gentoo-provided default by running: # emerge --noconfmem syslog-ng # dispatch-conf
Created attachment 474696 [details] emerge --info
Hi, I hit the same bug, doing the suggested operations didn't help. This is the output after the emerge from my laptop: ant 64bit # dispatch-conf ant 64bit # service syslog-ng restart * Checking your configfile (/etc/syslog-ng/syslog-ng.conf) ... Error parsing source, source plugin system not found in /etc/syslog-ng/syslog-ng.conf at line 24, column 14: source src { system(); internal(); }; ^^^^^^ syslog-ng documentation: http://www.balabit.com/support/documentation/?product=syslog-ng mailing list: https://lists.balabit.hu/mailman/listinfo/syslog-ng * Configuration error. Please fix your configfile (/etc/syslog-ng/syslog-ng.conf) [ !! ] * ERROR: syslog-ng failed to start Thanks! José.
Just for completeness, the module is there: Available-Modules: dbparser,afprog,afstomp,csvparser,afsocket,afuser,affile,confgen,linux-kmsg-format,graphite,basicfuncs,system-source,pseudofile,syslogformat,cryptofuncs,kvformat Thanks! José.
Created attachment 474728 [details, diff] Fix patch.
I cannot reproduce on version 3.12.1, if so, please reopen, thank you.