[syslog-ng] Can't get syslog-ng to start...

Juhász, Viktor viktor.juhasz at balabit.com
Fri Aug 28 22:10:13 CEST 2015


Hi,

Version should contain only the major.minor information.
Try the '@version: 3.2' instead of '@version: 3.2.4'

BR,
Viktor Juhasz

On Fri, Aug 28, 2015 at 6:43 PM, Mason, Tron <Tron.Mason at mail.house.gov>
wrote:

> All, I keep getting the following when attempting to start syslog-ng:
>
>
>
> /usr/local/etc/syslog-ng/syslog-ng.conf: line 10: @version:: command not
> found
>
> /usr/local/etc/syslog-ng/syslog-ng.conf: line 12: syntax error near
> unexpected token `('
>
> /usr/local/etc/syslog-ng/syslog-ng.conf: line 12: `options { use_dns(yes);'
>
>
>
> Not sure why I’m getting these messages when I’m running a later version:
>
>
>
> bash-3.2# /usr/local/sbin/syslog-ng -V
>
> syslog-ng 3.2.4
>
> Installer-Version: 3.2.4
>
> Revision: ssh+git://bazsi@git.balabit
> //var/scm/git/syslog-ng/syslog-ng-ose--mainline--3.2#master#ef7b91e4a1b1f9628c66138b4ae83de7e4c697c6
>
> Compile-Date: Jun  9 2011 05:24:53
>
> Enable-Threads: off
>
> Enable-Debug: off
>
> Enable-GProf: off
>
> Enable-Memtrace: off
>
> Enable-Sun-STREAMS: on
>
> Enable-IPv6: on
>
> Enable-Spoof-Source: on
>
> Enable-TCP-Wrapper: off
>
> Enable-SSL: on
>
> Enable-SQL: off
>
> Enable-Linux-Caps: off
>
> Enable-Pcre: on
>
> Enable-Pacct: off
>
>
>
> bash-3.2# more /usr/local/etc/syslog-ng/syslog-ng.conf
>
> # Syslog-ng example configuration file for Solaris
>
> #
>
> # Copyright (c) 1999 Balazs Scheidler
>
> # $Id: syslog-ng.conf.solaris,v 1.2 1999/11/15 12:30:41 bazsi Exp $
>
> # Current syslog-ng binary version 1.5.16
>
> #
>
> # Solaris 2.5.1 and below uses the STREAMS driver, above extends it
>
> # with doors. For 2.5.1 remove the door() option from the source
> declaration.
>
> #
>
> @version: 3.2.4
>
>
>
> options { use_dns(yes);
>
> #       use_time_recvd(yes);
>
>         chain_hostnames(off);
>
>         log_fifo_size(1000); };
>
>
>
> #source local { sun-streams("/dev/log" door("/var/run/syslog_door")); };
>
> source local { sun-streams("/dev/log" door("/etc/.syslog_door"));
> internal(); };
>
> #source s_tcp { tcp(port(5014) max-connections(100); };
>
> #source s_tcp { tcp(ip(0.0.0.0) port(5014)); };
>
> source s_udp { udp(); };
>
> # source s_udp { udp(ip(0.0.0.0) port(514)); };
>
> ……….
>
>
>
>
>
>
>
>
>
>
> ______________________________________________________________________________
> Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng
> Documentation:
> http://www.balabit.com/support/documentation/?product=syslog-ng
> FAQ: http://www.balabit.com/wiki/syslog-ng-faq
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.balabit.hu/pipermail/syslog-ng/attachments/20150828/e4a6dd4c/attachment.htm 


More information about the syslog-ng mailing list