On Thu, Dec 05, 2002 at 07:18:01PM -0500, Wes Hall wrote:
It has to be something very simple, anyone have an idea why I'm receiving this error?
Thanks wes ------------------ [root@EARTH syslog-ng]# /usr/local/sbin/syslog-ng -v parse error at 1 Parse error reading configuration file, exiting. [root@EARTH syslog-ng]#
------------------- syslog-ng.conf:
[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]#
Works for me: [root@slim:root]# syslog-ng -v -d -f /tmp/syslog-ng.test binding fd 3, inetaddr: 0.0.0.0, port: 514 io.c: Preparing fd 3 for reading syslog-ng version 1.5.15 starting [root@slim:root]# cat !$ cat /tmp/syslog-ng.test options { sync(0); }; source src { udp(); internal(); }; destination misc{file("/var/log/misc");}; log{source(src); destination (misc);}; You sure it's using this config file? -- Nate Campi http://www.campin.net "I rigged my cellular to send a message to my PDA, which is online with my PC, to get it to activate the voicemail, which sends the message to the inbox of my email, which routes it to the PDA, which beams it back to the cellular. Then I realized my gadgets have a better social life than I do." !" - Tom Ostad.