Well it must be something on my system that is odd. See new attempt after install of 1.5.23 below. Any ideas? Is there any debug info I can use to track down the parse error? Wes [root@EARTH syslog-ng]# cat syslog-ng.conf #options { sync(0); }; source src { udp(); internal(); }; destination misc{file("/var/log/misc");}; log{source(src); destination (misc);}; [root@EARTH syslog-ng]# /usr/local/sbin/syslog-ng -v -d -f /etc/syslog-ng/syslog -ng.conf parse error at 2 Parse error reading configuration file, exiting. (line 2)
It may sound odd, but do you have any DOS EOL characters (or other odd characters) in the config file? Its a thought since I have seen it happen before.. Jeremy On Fri, 2002-12-06 at 14:42, wes wrote:
Well it must be something on my system that is odd. See new attempt after install of 1.5.23 below.
Any ideas? Is there any debug info I can use to track down the parse error?
Wes
[root@EARTH syslog-ng]# cat syslog-ng.conf #options { sync(0); };
source src { udp(); internal(); };
destination misc{file("/var/log/misc");}; log{source(src); destination (misc);}; [root@EARTH syslog-ng]# /usr/local/sbin/syslog-ng -v -d -f /etc/syslog-ng/syslog -ng.conf parse error at 2 Parse error reading configuration file, exiting. (line 2)
_______________________________________________ syslog-ng maillist - syslog-ng@lists.balabit.hu https://lists.balabit.hu/mailman/listinfo/syslog-ng Frequently asked questions at http://www.campin.net/syslog-ng/faq.html
participants (2)
-
Jeremy Bussard
-
wes