Erreur configuration file
Hi, i ve used the HOWTO from Ben Russo to install syslog-ng on a Mandrake Linux box. I ve already have a PostgreSQL running on this box. I 've build both libol and syslog-ng without any problem. I ve made all steps specified in the HOWTO. But when i launch my /etc/init.d/syslog-ng i go the following error: Starting syslog-ng: parse error at 37 Parse error reading configuration file, exiting. And in the configuration file at line 37 i have the following lines: destination d_msgs { file("/var/log/messages" template("$FULLDATE $HOST $FACILITY.$PRIORITY $MSG\n")); }; What happened? regards -- Laurent Mesuri Steria Group http://www.steria.com SAF/DAF Boulogne Billancourt France Tel: +33.1.46.20.65.57 Fax: +33.1.46.20.65.65 Mob: +33.6.82.68.15.22
You probably have the wrong version. Use 1.5.21. Aaron On Tuesday, October 8, 2002, at 12:06 PM, Laurent Mesuré wrote:
Hi,
i ve used the HOWTO from Ben Russo to install syslog-ng on a Mandrake Linux box.
I ve already have a PostgreSQL running on this box.
I 've build both libol and syslog-ng without any problem.
I ve made all steps specified in the HOWTO.
But when i launch my /etc/init.d/syslog-ng i go the following error:
Starting syslog-ng: parse error at 37 Parse error reading configuration file, exiting.
And in the configuration file at line 37 i have the following lines:
destination d_msgs { file("/var/log/messages" template("$FULLDATE $HOST $FACILITY.$PRIORITY $MSG\n")); };
What happened?
regards
-- Laurent Mesuri Steria Group http://www.steria.com SAF/DAF Boulogne Billancourt France Tel: +33.1.46.20.65.57 Fax: +33.1.46.20.65.65 Mob: +33.6.82.68.15.22
_______________________________________________ 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
Aaron Jackson a écrit :
You probably have the wrong version. Use 1.5.21.
this version is the last UNSTABLE version as stated on the web site. That s the reason why i use the 1.4.16 version -- Laurent Mesuré Steria Group http://www.steria.com SAF/DAF Boulogne Billancourt France Tel: +33.1.46.20.65.57 Fax: +33.1.46.20.65.65 Mob: +33.6.82.68.15.22
On Wed, Oct 09, 2002 at 05:03:55PM +0200, Laurent Mesuré wrote:
Aaron Jackson a écrit :
You probably have the wrong version. Use 1.5.21.
this version is the last UNSTABLE version as stated on the web site. That s the reason why i use the 1.4.16 version
1.4.x doesn't support templates. -- Bazsi PGP info: KeyID 9AF8D0A9 Fingerprint CD27 CFB0 802C 0944 9CFD 804E C82C 8EB1
participants (3)
-
Aaron Jackson
-
Balazs Scheidler
-
Laurent Mesuré