<br><font size=2 face="sans-serif">Dear list,</font>
<br><font size=2 face="sans-serif">I am using syslog-ng from some time
and it is one realiable and easy for configuration software. But I have
notice 2 issues in my configuration, which i have not solved yet.</font>
<br><font size=2 face="sans-serif">I'm using: </font>
<br><font size=2 face="sans-serif"># syslog-ng -V</font>
<br><font size=2 face="sans-serif">syslog-ng 1.6.5</font>
<br><font size=2 face="sans-serif">on debian 3.1, uname -a: Linux logsrv
2.4.27-2-386.</font>
<br>
<br><font size=2 face="sans-serif">1.I'm logging to mysql 4.0 db
with pipe. The pipe is locate in /tmp/mysql.pipe. But it is not starting
with system startup.I have tried to use script for initial startup script
like:</font>
<br>
<br><font size=2 face="sans-serif">##################################################################</font>
<br><font size=2 face="sans-serif">#!/bin/bash</font>
<br>
<br><font size=2 face="sans-serif">if [ -e /tmp/mysql.pipe ]</font>
<br><font size=2 face="sans-serif"> then</font>
<br><font size=2 face="sans-serif"> while [
-e /tmp/mysql.pipe ]</font>
<br><font size=2 face="sans-serif">
do</font>
<br><font size=2 face="sans-serif">
mysql -u loguser --password=XXXX syslog < /tmp/mysql.pipe</font>
<br><font size=2 face="sans-serif">
done</font>
<br><font size=2 face="sans-serif">else</font>
<br><font size=2 face="sans-serif"> mkfifo /tmp/mysql.pipe</font>
<br><font size=2 face="sans-serif">fi</font>
<br><font size=2 face="sans-serif">##################################################################</font>
<br>
<br><font size=2 face="sans-serif"> I have read somewhere that the
pipe must be located in somewhere else and stuff like this but did not
find a solution. Also what should be the order of starting syslog-ng, mysql
and mysql.pipe?</font>
<br><font size=2 face="sans-serif">So if you have experience such a problem
can you guide me through it?</font>
<br>
<br><font size=2 face="sans-serif">2. and second issue is how to backup
this mysql db (i know that it is a little bit of topic). Because the syslog
db is nearly 5GB and like to extract and compress it.</font>
<br><font size=2 face="sans-serif">have try with mysqlhotcopy but it is
locking database for time of cp db to another place which last time was
around 10 minutes.</font>
<br>
<br><font size=2 face="sans-serif">Thanks in advance,</font>
<br><font size=2 face="sans-serif">Nikolay Nenchev</font>