Hi, you have an error because syslog-ng 2.0.0 and 2.0.1 can't convert user/group name to user/group ID. But when you specify, eg. group(10) it will start correctly (if GID 10 = tty). I wrote about this between 2006-11-26 and 2006-11-28 in thread: "Config parse error in syslog-ng 2.0.0". It still hasn't been fixed. Jack On 2007-01-05 15:35, Matthias Kerk wrote:
Hello,
I try the version 2.0.1.
So far I used the version 2.0.0rc3 with following config example:
--------- destination console { file("/dev/tty10" group(tty) perm(0620)); }; log { source(src); filter(f_console); destination(console); };
destination xconsole { pipe("/dev/xconsole" group(tty) perm(0400)); }; log { source(src); filter(f_console); destination(xconsole); }; ---------
The version 2.0.1 (and 2.0.0) says 'syntax error at ...' If I delete the options from file and pipe, then work syslog ng. see here: --------- destination console { file("/dev/tty10"); }; log { source(src); filter(f_console); destination(console); };
destination xconsole { pipe("/dev/xconsole"); }; log { source(src); filter(f_console); destination(xconsole); }; ---------
In the reference manual are however permitted the option.
Thanks for your help, Matthias