[syslog-ng] syntax error when using syslog-ng.conf from debian packaging

Peter Kokai (pkokai) Peter.Kokai at oneidentity.com
Wed Nov 13 05:58:58 UTC 2019


Hello,

At first glance this looks like the issue found in 3.23.1: https://github.com/syslog-ng/syslog-ng/issues/2906
Could you verify by checking either master or 3.24.1 ?

If not please provide more information as such:
* debian version
* syslog-ng version
* how/where do you obtain your debian packages
* configuration file

--
Kokan

On Tue, Nov 12, 2019 at 02:59:53PM +0000, Alexandre Santos wrote:
> CAUTION: This email originated from outside of the organization. Do not follow guidance, click links, or open attachments unless you recognize the sender and know the content is safe.
> 
> Hi,
> 
> I am  running into the following error when running the syslog-ng with the syslog-ng.conf from debian packaging:
> 
> Error parsing affile, syntax error, unexpected ')', expecting LL_IDENTIFIER or LL_STRING in /usr/local/etc/syslog-ng.conf:68:34-68:35:
> 63      #
> 64      destination d_console { usertty("root"); };
> 65
> 66      # Virtual console.
> 67      #
> 68----> destination d_console_all { file(`tty10`); };
> 68---->                                  ^
> 
> Do you have any idea about this?
> 
> Thanks in advance,
> Alex

> ______________________________________________________________________________
> Member info: https://nam05.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.balabit.hu%2Fmailman%2Flistinfo%2Fsyslog-ng&data=02%7C01%7CPeter.Kokai%40oneidentity.com%7Cd78813e10c6a44a214f108d7678102ee%7C91c369b51c9e439c989c1867ec606603%7C0%7C0%7C637091676118465862&sdata=CGNREooUzxJttjlY3ZC%2FB9KopBaqbjWHId0SJRkKcOA%3D&reserved=0
> Documentation: https://nam05.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.balabit.com%2Fsupport%2Fdocumentation%2F%3Fproduct%3Dsyslog-ng&data=02%7C01%7CPeter.Kokai%40oneidentity.com%7Cd78813e10c6a44a214f108d7678102ee%7C91c369b51c9e439c989c1867ec606603%7C0%7C0%7C637091676118465862&sdata=HxgsXnssIKsdlfRlUv1abq1sYvM99MoHIsO2PWH6Pzo%3D&reserved=0
> FAQ: https://nam05.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.balabit.com%2Fwiki%2Fsyslog-ng-faq&data=02%7C01%7CPeter.Kokai%40oneidentity.com%7Cd78813e10c6a44a214f108d7678102ee%7C91c369b51c9e439c989c1867ec606603%7C0%7C0%7C637091676118465862&sdata=lsm2bopdTBZcJqqc%2BfqfUrI1P2mdmftBjMSNRtzyiTo%3D&reserved=0
> 


More information about the syslog-ng mailing list