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

Alexandre Santos alexandre.rosas.santos at gmail.com
Wed Nov 20 16:09:59 UTC 2019


 Hi,
Sorry for the late reply.

In fact variable tty10 is not set in my environment.
I am using debian 9, syslog-ng version 3.24.1
I am creating my own debian package using the CMakeFile in attachment.
I am using the configuration file:
https://github.com/syslog-ng/syslog-ng/blob/master/packaging/debian/syslog-ng.conf

Cheers,
Alex

On Wed, Nov 13, 2019 at 5:59 AM Peter Kokai (pkokai) <
Peter.Kokai at oneidentity.com> wrote:

> 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
> >
>
> ______________________________________________________________________________
> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.balabit.hu/pipermail/syslog-ng/attachments/20191120/846756ce/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: syslog-ng.4.cmake
Type: application/octet-stream
Size: 2090 bytes
Desc: not available
URL: <http://lists.balabit.hu/pipermail/syslog-ng/attachments/20191120/846756ce/attachment.obj>


More information about the syslog-ng mailing list