« Worrior pro sold | Home | when you wanna trap more »

November 27, 2007

appending php-syslog-ng config file to syslog-ng config file

when you do appending the contonts from the php-syslog-ng config file to the /usr/local/etc/syslog-ng/syslog-ng.conf file.

maybe you would get this:

COM# /usr/local/etc/rc.d/syslog-ng restart
syslog_ng not running? (check /var/run/syslog.pid).
Starting syslog_ng.
unresolved reference: s_all
Error initializing configuration, exiting.

to resolve this problem, just simply modify the following

log {
source(s_all);
destination(d_mysql);
};

to:

log {
source(src);
destination(d_mysql);
};

Posted by Lifeng Shen on November 27, 2007 11:35 AM |

评论

添加评论







固定链接与引用