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

Balazs Scheidler bazsi77 at gmail.com
Mon Aug 31 07:46:24 CEST 2015


These messages dont seem to be generated by syslog-ng or are by a very old
version.

Can you copy paste the command you use to start syslog-ng with that config
file?

And although 3.2 does support @version it is still ancient. We are at 3.7
now, 5 major versions later.
On Aug 28, 2015 18:43, "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/20150831/8a0e2a06/attachment.htm 


More information about the syslog-ng mailing list