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

Charles Jennings jennings.charles.e.security at gmail.com
Fri May 1 23:57:19 CEST 2009


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

Message: 2
Date: Fri, 1 May 2009 13:15:10 -0700
From: "Ngim, Hyrum CTR ADCF/Arrowpoint" <hyrum.ngim.ctr at awps.army.mil>
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:
	
<8B986F9B35D04C428A6B98996432C79B05ADE7311E at fedmail01.fed.awps.army.mil>
	
Content-Type: text/plain; charset="iso-8859-1"

At the very top of your config file, it will need to have:

@version: 3.0

You'll just need to remove the # sign.





More information about the syslog-ng mailing list