Hi <br>Please advise on how to configure the pipe for syslog-ng to reliably pipe data to mysl ...<br>Some how mine keeps breaking ... It works for awhile the stops for no reason ...<br>and syslog-ng stops logging to the pipe ... i  end up have to recreate the pipe
<br>and restart syslog-ng ...<br><br>what are the correct permitions / commands to use for fc 5 and centos 4 ?<br>I haven't worked with pipes before..<br><br>this the the code I used  ... to create the pipe ..<br> <br>#!/bin/bash   
<br>#<br># Script to create a named pipe so syslog-ng messages<br># can be sent to a MySQL database<br><br>if [ -p /var/run/mysql.pipe ]; then<br>    /usr/bin/mysql -u syslog_ng --password=syslog_ng syslog_ng < /var/run/mysql.pipe &
<br>else<br>  mkfifo /var/run/mysql.pipe<br>fi<br><br><br clear="all">Many Thanks<br>-- <br>Gregory Machin<br><a href="mailto:gregory.machin@gmail.com">gregory.machin@gmail.com</a><br><a href="http://www.linuxpro.co.za">www.linuxpro.co.za
</a>