[syslog-ng] Error when starting syslog-ng 3.0.1

Bristol, Gary L. gbristol at ou.edu
Mon May 4 16:26:05 CEST 2009


OK, it's now the top line and it works, the program now recognizes that it
is a 3.0 version config file.
Also I tried to change the .0 to a .2 and that also caused the same error.
So it must be tied to the version of the program and not the maj.min of the
configuration file.

It would be nice to have that explained a little more clearly in the
instructions.

Thanks all for helping.

Message: 1
Date: Fri, 1 May 2009 16:57:19 -0500
From: "Charles Jennings" <jennings.charles.e.security at gmail.com>
Subject: Re: [syslog-ng] Error when starting syslog-ng 3.0.1
To: "'Syslog-ng users' and developers' mailing list'"
	<syslog-ng at lists.balabit.hu>
Message-ID: <DF2F4E8F406F42EF9DC28946F540AAE5 at its.local>
Content-Type: text/plain;	charset="us-ascii"

It needs to be the very first line in the file.  You have it as the second
line. 

-----Original Message-----
From: syslog-ng-bounces at lists.balabit.hu
[mailto:syslog-ng-bounces at lists.balabit.hu] On Behalf Of Bristol, Gary L.
Sent: Friday, May 01, 2009 4:51 PM
To: syslog-ng at lists.balabit.hu
Subject: [syslog-ng] Error when starting syslog-ng 3.0.1

Did as suggested.

The errors are now a lot less but now syslog-ng won't start.

Here's the error I get 

[root at soc-nsm-002 init.d]# ./syslog-ng restart
Shutting down system logger:                               [  OK  ]
Starting system logger: Configuration file has no version number, assuming
syslog-ng 2.1 format. Please add @version: maj.min to the beginning of the
file;
WARNING: global: the default value of chain_hostnames is changing to 'no' in
version 3.0, please update your configuration accordingly; syntax error in
/etc/syslog-ng/syslog-ng.conf at line 2.

# syslog-ng configuration file.
@version: 3.0
#
# Thi

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3074 bytes
Desc: not available
Url : http://lists.balabit.hu/pipermail/syslog-ng/attachments/20090504/e4446f94/attachment.bin 


More information about the syslog-ng mailing list