[syslog-ng] permission denied on syslog-ng

Michael Redinger syslog-ng@lists.balabit.hu
Thu, 17 Apr 2003 09:55:22 +0200 (CEST)


Same here with 1.6.0rc2 (I'm using FACILITY).
This works fine in 1.6.0rc1.

Michael

> Hi there
> 
> I've problems with macros. I've tried a few different config files now and 
> macros don't seem to work in any of them.
> 
> Here's a short sample:
> 
> source src { unix-stream("/dev/log"); internal(); udp(ip(0.0.0.0) 
> port(514)); };
> 
> destination d_mysql {
>    pipe("/tmp/mysql.pipe"
>    template("$HOST\n")
>      );
>    };
> 
> destination console { usertty("root" template("HELLO $HOST\n")); };
> 
> log { source(src); destination(d_mysql); destination(console); };
> 
> 
> Since I don't get anything in my mysql server at the moment I run this to 
> check the fifo 'cat < /tmp/mysql.pipe'
> All that I get is the linefeed from \n
> 
> And on my console I only get HELLO \n
> 
> The macros don't seem to expand not just $HOST.
> 
> I run syslog-ng 1.6.0rc2 on a Slackware 9.0 box.
> 
> Thank you!
> 
> /peter

--
Michael Redinger
Zentraler Informatikdienst (Computer Centre)
Universitaet Innsbruck                  
Technikerstrasse 13                     Tel.: ++43 512 507 2335
6020 Innsbruck                          Fax.: ++43 512 507 2944
Austria					Mail: Michael.Redinger@uibk.ac.at