Re: [syslog-ng] Error in running syslogng client - source plugin sun-streams not found
Hi all, In the below conf file, I can see @include "scl.conf". If I remove that line or if I change it to --> include "scl.conf"; [i.e remove @ and add ; at the end], it did not complain any error. Is that expected behavior? Thanks Hithendra _____________________________________________ From: Balla, Hithendra (EXT-Other - IN/Bangalore) Sent: Monday, June 04, 2012 4:01 PM To: 'Syslog-ng users' and developers' mailing list' Subject: Error in running syslogng client - source plugin sun-streams not found Hi all, Can somebody help here in identifying the issue here. It says source plug-in sun-streams not sound. I have configured syslog-ng with --enable-ssl --enable-sun-streams A02-LEM-CSLPN01A# /usr/local/sbin/syslog-ng -V syslog-ng 3.4.0alpha2 Installer-Version: 3.4.0alpha2 Revision: ssh+git://bazsi@git.balabit//var/scm/git/syslog-ng/syslog-ng-ose--mainli ne--3.4--master#ab25c4c2a32988d86a5e024d784db7ad48f17cd2 Compile-Date: Jun 4 2012 18:38:40 Available-Modules: afsocket,afsocket-notls,afstreams,affile,afprog,afuser,afmongodb,csvpars er,confgen,syslogformat,basicfuncs,dbparser,tfuuid,afsocket-tls Enable-Debug: off Enable-GProf: off Enable-Memtrace: off Enable-IPv6: on Enable-Spoof-Source: off Enable-TCP-Wrapper: off Enable-Linux-Caps: off Enable-Pcre: on A02-LEM-CSLPN01A# This is the client config file ######################################################################## ##### #Syslog-ng Client configuration File. # @version: 3.3 @include "scl.conf" options { keep_hostname (yes); log_fifo_size (1000); }; source s_local { sun-streams("/dev/log"); udp(ip(0.0.0.0) port(514)); }; A02-LEM-CSLPN01A# /usr/local/sbin/syslog-ng -fFvde ~/syslog_conf/mod/syslog-ng_client.conf nanosleep() is not accurate enough to introduce minor stalls on the reader side, multi-threaded performance may be affected; WARNING: Configuration file format is too old, please update it to use the 3.4 format as some constructs might operate inefficiently; Starting to read include file; filename='/usr/local/etc/scl.conf', depth='1' Global value changed; define='scl-root', value='/usr/local/share/include/scl' Global value changed; define='include-path', value='/usr/local/etc:/usr/local/share/include' Starting to read include file; filename='/usr/local/etc/modules.conf', depth='2' Global value changed; define='autoload-compiled-modules', value='0' Module loaded and initialized successfully; module='syslogformat' Module loaded and initialized successfully; module='basicfuncs' Module loaded and initialized successfully; module='afsocket' Module loaded and initialized successfully; module='affile' Module loaded and initialized successfully; module='afprog' Module loaded and initialized successfully; module='afuser' Module loaded and initialized successfully; module='dbparser' Module loaded and initialized successfully; module='csvparser' Finishing include; filename='/usr/local/etc/modules.conf', depth='2' Starting to read include file; filename='/usr/local/share/include/scl/system/plugin.conf', depth='2' Module loaded and initialized successfully; module='confgen' Finishing include; filename='/usr/local/share/include/scl/system/plugin.conf', depth='2' Starting to read include file; filename='/usr/local/share/include/scl/pacct/plugin.conf', depth='2' Finishing include; filename='/usr/local/share/include/scl/pacct/plugin.conf', depth='2' Starting to read include file; filename='/usr/local/share/include/scl/syslogconf/plugin.conf', depth='2' Module loaded and initialized successfully; module='confgen' Finishing include; filename='/usr/local/share/include/scl/syslogconf/plugin.conf', depth='2' Finishing include; filename='/usr/local/etc/scl.conf', depth='1' Error parsing source, source plugin sun-streams not found in /export/home/root/syslog_conf/mod/syslog-ng_client.conf at line 14, column 18: source s_local { sun-streams("/dev/log"); udp(ip(0.0.0.0) port(514)) ;}; ^^^^^^^^^^^ syslog-ng documentation: http://www.balabit.com/support/documentation/?product=syslog-ng mailing list: https://lists.balabit.hu/mailman/listinfo/syslog-ng A02-LEM-CSLPN01A
participants (1)
-
Balla, Hithendra (EXT-Other - IN/Bangalore)