[syslog-ng]Config error

TIM MOORE syslog-ng@lists.balabit.hu
Fri, 18 Jul 2003 08:30:27 -0400


This is a MIME message. If you are reading this text, you may want to 
consider changing to a mail reader or gateway that understands how to 
properly handle MIME multipart messages.

--=_D18FF479.056478F6
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

I just loaded Syslog-ng 1.6.0rc3 on a SuSE 8.2 linux box.  I have =
successfully been running version 1.6.0rc1 on another LFS box for months.  =
I took my config from the box running 1.6.0rc1 and put it on the new box.  =
I get an error on the options.  Did something change in the format or =
something with the options?  I didn't see anything in the documentation =
that said formating or options changed.  The daemon does run, but kicks =
out this for error:

syslog1:~ # /etc/init.d/syslog-ng start
/etc/init.d/syslog-ng: /etc/syslog-ng/syslog-ng.conf: line 12: syntax =
error near unexpected token `('
/etc/init.d/syslog-ng: /etc/syslog-ng/syslog-ng.conf: line 12: `options { =
long_hostnames(off); use_fqdn(yes); use_dns(yes); dns_cache(yes); =
keep_hostname(yes); use_time_recvd(yes); sync(0); };'
Starting Syslog-ng                                                         =
                                                                       =
done

Everything looks right to me and it works fine on another box running =
1.6.0rc1.  Can anyone see the problem?  I must be missing something =
little.
Thanks,


---------------------------------------
Tim Moore
DNS/Linux/Cisco Admin
ODJFS

--=_D18FF479.056478F6
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Description: HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; charset=3Diso-8859-1"=
>
<META content=3D"MSHTML 6.00.2800.1170" name=3DGENERATOR></HEAD>
<BODY style=3D"MARGIN-TOP: 2px; FONT: 10pt Trebuchet MS; MARGIN-LEFT: =
2px">
<DIV>I just loaded Syslog-ng 1.6.0rc3 on a SuSE 8.2 linux box.&nbsp; I =
have=20
successfully been running version 1.6.0rc1 on another LFS box for =
months.&nbsp;=20
I took my config from the box running 1.6.0rc1 and put it on the new =
box.&nbsp;=20
I get an error on the options.&nbsp; Did something change in the format =
or=20
something with the options?&nbsp; I didn't see anything in the documentatio=
n=20
that said formating or options changed.&nbsp; The daemon does run, but =
kicks out=20
this for error:</DIV>
<DIV>&nbsp;</DIV>
<DIV>syslog1:~ # /etc/init.d/syslog-ng start<BR>/etc/init.d/syslog-ng:=20
/etc/syslog-ng/syslog-ng.conf: line 12: syntax error near unexpected =
token=20
`('<BR>/etc/init.d/syslog-ng: /etc/syslog-ng/syslog-ng.conf: line 12: =
`options {=20
long_hostnames(off); use_fqdn(yes); use_dns(yes); dns_cache(yes);=20
keep_hostname(yes); use_time_recvd(yes); sync(0); };'<BR>Starting=20
Syslog-ng&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;=20
done</DIV>
<DIV>&nbsp;</DIV>
<DIV>Everything looks right to me and it works fine on another box =
running=20
1.6.0rc1.&nbsp; Can anyone see the problem?&nbsp; I must be missing =
something=20
little.</DIV>
<DIV>Thanks,</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>---------------------------------------<BR>Tim Moore<BR>DNS/Linux/Cisc=
o=20
Admin<BR>ODJFS</DIV></BODY></HTML>

--=_D18FF479.056478F6--