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

Ngim, Hyrum CTR ADCF/Arrowpoint hyrum.ngim.ctr at awps.army.mil
Fri May 1 23:53:07 CEST 2009


Place it at the very top :)

So it would look like this:

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

-----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 2: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.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: winmail.dat
Type: application/ms-tnef
Size: 14912 bytes
Desc: not available
Url : http://lists.balabit.hu/pipermail/syslog-ng/attachments/20090501/88de550b/attachment-0001.bin 


More information about the syslog-ng mailing list