[syslog-ng]check_hostname(yes) - parse error

Smith, Krista syslog-ng@lists.balabit.hu
Wed, 11 Aug 2004 15:36:47 -0600


This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C47FEB.4DFD3B20
Content-Type: text/plain

Hello,

I've got syslog-ng (1.4.17) working on a Solaris 9 central logserver, except
for one small thing. I'm trying to use the option "check_hostname(yes)" but
I get a parse error when I add it to my options. My options line looks like
this:

options { create_dirs(yes); keep_hostname(yes); check_hostname(yes); };

If I remove that portion of the line, it gives no error.  I've checked for
invisible characters, searched Google and the syslog-ng archives, but cannot
find anything suggesting what the problem might be. If anyone can point me
in the right direction I'd be grateful.

Thanks,
Krista
--
Krista Smith
Unix Analyst
EnCana Corporation
desk: (403) 645-3121
cell:  (403) 830-2334
krista.smith@encana.com
www.encana.com <www.encana.com> 


------_=_NextPart_001_01C47FEB.4DFD3B20
Content-Type: text/html
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2653.12">
<TITLE>check_hostname(yes)  - parse error</TITLE>
</HEAD>
<BODY>

<P><FONT COLOR=3D"#000000" SIZE=3D2 FACE=3D"Comic Sans =
MS">Hello,</FONT>
</P>

<P><FONT COLOR=3D"#000000" SIZE=3D2 FACE=3D"Comic Sans MS">I've got =
syslog-ng (1.4.17) working on a Solaris 9 central logserver, except for =
one small thing. I'm trying to use the option =
&quot;check_hostname(yes)&quot; but I get a parse error when I add it =
to my options. My options line looks like this:</FONT></P>

<P><FONT COLOR=3D"#000000" SIZE=3D2 FACE=3D"Courier New">options { =
create_dirs(yes); keep_hostname(yes); check_hostname(yes); };</FONT>
</P>

<P><FONT COLOR=3D"#000000" SIZE=3D2 FACE=3D"Comic Sans MS">If I remove =
that portion of the line, it gives no error.&nbsp; I've checked for =
invisible characters, searched Google and the syslog-ng archives, but =
cannot find anything suggesting what the problem might be. If anyone =
can point me in the right direction I'd be grateful.</FONT></P>

<P><FONT COLOR=3D"#000000" SIZE=3D2 FACE=3D"Comic Sans =
MS">Thanks,</FONT>
<BR><FONT COLOR=3D"#000000" SIZE=3D2 FACE=3D"Comic Sans =
MS">Krista</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Comic Sans MS">--</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Comic Sans MS">Krista Smith</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Comic Sans MS">Unix Analyst</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Comic Sans MS">EnCana Corporation</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Comic Sans MS">desk: (403) 645-3121</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Comic Sans MS">cell:&nbsp; (403) =
830-2334</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Comic Sans =
MS">krista.smith@encana.com</FONT>
<BR><A HREF=3D"www.encana.com"><U><FONT COLOR=3D"#0000FF" SIZE=3D2 =
FACE=3D"Comic Sans MS">www.encana.com</FONT></U></A>
</P>

</BODY>
</HTML>
------_=_NextPart_001_01C47FEB.4DFD3B20--