1. rcsyslog reload = failed 2. I performed rcsyslog stop = OK 3. rcsyslog start = multivac-ii:/home/couston # rcsyslog start Starting syslog servicessyntax error at 206 Parse error reading configuration file, exiting. (line 206) startproc: exit status of parent of /sbin/syslog-ng: 1 failed multivac-ii:/home/couston # Line 206 == destination d_file { file("/var/log/skot" ); }; I cannot understand even myself (that not much) why this line is not correct in syntax. Your ideas Scott Darryl Gregorash wrote:
On 2007-05-19 19:27, Registration Account wrote:
source s_udp { udp(ip(192.168.100.10) port(514); destination(d_file) }; destination d_file { file("/var/log/skot" ); }; #
I thought the sample config file was very clear. If not the documentation seems to be.
source s_udp { udp(ip(192.168.100.10) port(514) ); destination d_file { file("/var/log/skot" ); }; log (source(s_udp); destination(d_file));
Make sure you put that into /etc/syslog-ng/syslog-ng.conf.in and run "SuSEconfig --module syslog-ng". Do *not* simply edit /etc/syslog-ng/syslog-ng.conf or your changes will be lost the next time SuSEconfig is run.
Finally run "rcsyslog reload".