Parse error on line 1
Yep looks like the right file. If I edit it I can move the parse error. I'll rebuild syslog-ng from scratch and see if that works. Wes Version:1.4.17 OS: Mandrake 2.4.8-34.1mdk Screen dump of 2nd try: [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]# whereis syslog-ng syslog-ng: /etc/syslog-ng /usr/local/sbin/syslog-ng [root@EARTH syslog-ng]# /usr/local/sbin/syslog-ng -v -d -f /etc/syslog-ng/syslog-ng.conf parse error at 1 Parse error reading configuration file, exiting. [root@EARTH syslog-ng]# cat syslog syslog-ng.conf syslog-ng.conf.old [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]# vi sy syslog-ng.conf syslog-ng.conf.old [root@EARTH syslog-ng]# vi syslog-ng.conf [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. [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]#
On Fri, Dec 06, 2002 at 10:07:05AM -0500, wes wrote:
Yep looks like the right file. If I edit it I can move the parse error.
I'll rebuild syslog-ng from scratch and see if that works.
Mine was a 1.5.x version. I don't see any reason any more to use 1.4.x - 1.5.x is quite stable. Use the lastest from the 1.5.x branch this time. -- Nate Campi http://www.campin.net "Facts, or what a man believes to be facts, are always delightful. . . . Get your facts first, and . . . then you can distort `em as much as you please." - quoted in Rudyard Kipling's From Sea to Sea - Samuel Clemens
participants (2)
-
Nate Campi
-
wes