No not necessarily, it is a built-in source that detects your local log transport and generates config accordingly. This module is shipped with syslog-ng and should always be available. By rereading your error messages it seems unrelated to the systemd issue, sorry for sidetracking you. This can be a generic failure in loading plugins. If you start syslog-ng with --module-registry you should see all plugins available to syslog-ng. What is the output there? Look for the system source plugin specifically. On the other hand, system() is just a convinience wrapper over unix-dgram and unix-dgram drivers. So in most cases it can simply be replaced by source s_local { unix-dgram("/dev/log"); }; On Feb 26, 2016 6:25 PM, "Girish Kumar" <girish.kumar@al-enterprise.com> wrote:
No I don’t have systemd or libsystemd-journal.so. I have checked in /lib , sbin. I have not found here.
Please let me know how to check this? Also let me know what is the role of system () . Is it mandatory to have this?
TOR #-> syslog-ng -V
syslog-ng 3.7.2
Installer-Version: 3.7.2
Revision:
Compile-Date: Feb 24 2016 23:02:43
*Available-Modules: json-plugin,kvformat,pseudofile,linux-kmsg-format,csvparser,system-source,afamqp,cryptofuncs,basicfuncs,afuser,afprog,graphite,afstomp,afsocket,syslogformat,confgen,dbparser,sdjournal,affile,afmongodb*
Enable-Debug: off
Enable-GProf: off
Enable-Memtrace: off
Enable-IPv6: on
Enable-Spoof-Source: off
Enable-TCP-Wrapper: off
Enable-Linux-Caps: off
TOR #->
Regards,
Girish
*From:* syslog-ng-bounces@lists.balabit.hu [mailto: syslog-ng-bounces@lists.balabit.hu] *On Behalf Of *Scheidler, Balázs *Sent:* Friday, February 26, 2016 12:15 PM *To:* Syslog-ng users' and developers' mailing list *Subject:* Re: [syslog-ng] Error while spawning the syslog-ng : "source plugin system not found "
There was an issue that on newer systemd based platforms the systemd-journal () plugin doesn't load. You should see this on stderrr during startup. It is a pretty recent issue maybe #914?
Do you have systemd? Do you have a separate libsystemd-journal.so or just a monolithic *libsystemd.so*?
The problem is with supporting the latter one.
On Feb 25, 2016 2:54 PM, "Girish Kumar" <girish.kumar@al-enterprise.com> wrote:
Hi Gyu,
My contents is default syslog-ng.conf which is generated after make install
@version: 3.7 @include "scl.conf"
source s_local { #system(); internal(); };
source s_network { udp(); };
destination d_local { file("/var/log/messages"); };
log { source(s_local);
# uncomment this line to open port 514 to receive messages #source(s_network); destination(d_local); };
And contents of scl.conf -------------------------- @define scl-root "`syslog-ng-data`/include/scl" @define include-path "`include-path`:`syslog-ng-data`/include"
@include 'scl/*/*.conf'
Regards, Girish
-----Original Message----- From: syslog-ng-bounces@lists.balabit.hu [mailto: syslog-ng-bounces@lists.balabit.hu] On Behalf Of PÁSZTOR György Sent: Thursday, February 25, 2016 5:46 PM To: Syslog-ng users' and developers' mailing list Subject: Re: [syslog-ng] Error while spawning the syslog-ng : "source plugin system not found "
Hi,
"Girish Kumar" <girish.kumar@al-enterprise.com> írta 2016-02-25 12:03-kor:
Could anybody please update on the following. Regards, Girish
From: syslog-ng-bounces@lists.balabit.hu [mailto: syslog-ng-bounces@lists.balabit.hu] On Behalf Of Girish Kumar Sent: Thursday, February 25, 2016 1:30 PM To: Syslog-ng users' and developers' mailing list Subject: [syslog-ng] Error while spawning the syslog-ng : "source plugin system not found "
Hi All,
I was successful in compilation and installing syslog-ng
While spawning syslog-ng, I am getting source plugin system not found.
Following is the error. Please help me on this
TOR #-> /sbin/syslog-ng Error parsing source, source plugin system not found in //etc/syslog-ng.conf at line 10, column 2:
system(); ^^^^^^
What is the exact content of your syslog-ng.conf file? Did not you forget to include the scl?
Cheers, Gyu
______________________________________________________________________________ Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng Documentation: http://www.balabit.com/support/documentation/?product=syslog-ng FAQ: http://www.balabit.com/wiki/syslog-ng-faq
______________________________________________________________________________ Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng Documentation: http://www.balabit.com/support/documentation/?product=syslog-ng FAQ: http://www.balabit.com/wiki/syslog-ng-faq
______________________________________________________________________________ Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng Documentation: http://www.balabit.com/support/documentation/?product=syslog-ng FAQ: http://www.balabit.com/wiki/syslog-ng-faq