[syslog-ng] Can't get syslog-ng to start...
Mason, Tron
Tron.Mason at mail.house.gov
Fri Aug 28 18:43:02 CEST 2015
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)); };
..........
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.balabit.hu/pipermail/syslog-ng/attachments/20150828/f87da7e7/attachment.htm
More information about the syslog-ng
mailing list