[syslog-ng] Error starting syslog-ng
Fabien Bagard
fabien.bagard at parrot.com
Wed Jan 19 17:36:35 CET 2011
I am using syslog-ng 2.0.9
I don't know why this config doesn't work.
It was working on the very same box before a re-installation. Base
system is the same : Debian Lenny. syslog-ng is the latest available in
the repos.
Thanks for your help
On 01/19/2011 05:22 PM, Patrick H. wrote:
> Actually, what version of syslog-ng are you using? According to the
> docs, tls was only available in the premium edition until 3.0. So if
> youre using something older, that might be why.
>
> -Patrick
>
> Sent: Wed Jan 19 2011 09:19:55 GMT-0700 (Mountain Standard Time)
> From: Patrick H. <syslogng at feystorm.net>
> To: Syslog-ng users' and developers' mailing list
> <syslog-ng at lists.balabit.hu>
> Subject: Re: [syslog-ng] Error starting syslog-ng
>> Hrm, when I looked at the docs I was seeing dash, however I looked
>> through some more and I see both dash and underscore. Doc bug?
>>
>> Anyway I cant see anything else wrong with it :-/
>>
>> -Patrick
>>
>> Sent: Wed Jan 19 2011 09:09:33 GMT-0700 (Mountain Standard Time)
>> From: Fabien Bagard <fabien.bagard at parrot.com>
>> To: syslog-ng at lists.balabit.hu
>> Subject: Re: [syslog-ng] Error starting syslog-ng
>>> I am pretty sure it is an underscore. But I tried and neither dash
>>> nor underscore solve my problem.
>>>
>>> On 01/19/2011 05:03 PM, Patrick H. wrote:
>>>> Its a dash in the 'peer-verify' not underscore as 'peer_verify'.
>>>> See if that solves it.
>>>>
>>>> -Patrick
>>>>
>>>> Sent: Wed Jan 19 2011 01:31:36 GMT-0700 (Mountain Standard Time)
>>>> From: Fabien Bagard <fabien.bagard at parrot.com>
>>>> To: syslog-ng at lists.balabit.hu
>>>> Subject: [syslog-ng] Error starting syslog-ng
>>>>> Hi list !
>>>>>
>>>>> I have a problem to start syslog-ng. I got a syntax error on line
>>>>> in bold :
>>>>>
>>>>> ######
>>>>> # sources
>>>>>
>>>>> # all known message sources
>>>>> source s_all {
>>>>> # message generated by Syslog-NG
>>>>> internal();
>>>>> # standard Linux log source (this is the default place for the
>>>>> syslog()
>>>>> # function to send logs to)
>>>>> unix-stream("/dev/log");
>>>>> # messages from the kernel
>>>>> file("/proc/kmsg" log_prefix("kernel: "));
>>>>> };
>>>>>
>>>>> source s_unix {
>>>>> tcp(
>>>>> port(514)
>>>>> * tls(*
>>>>> key_file("/etc/syslog-ng/certs/logger.parrot.biz.key")
>>>>> cert_file("/etc/syslog-ng/certs/logger.parrot.biz.crt")
>>>>> ca_dir("/etc/syslog-ng/certs/CA/")
>>>>> peer_verify(optional-untrusted)
>>>>> )
>>>>> );
>>>>> };
>>>>>
>>>>>
>>>>> But I can't figure out what !
>>>>>
>>>>> Can someone point this error to me ?
>>>>>
>>>>> Thanks
>>>>> --
>>>>> Fabien Bagard
>>>>> IT Department
>>>>> tel + 33 (0)1 48 03 60 40
>>>>>
>>>>> --------------------------------------------------------------------------------
>>>>> Parrot SA
>>>>> 174, Quai de Jemmapes | 75010 Paris - France
>>>>> tel + 33 (0)1 48 03 60 60 | fax + 33 (0)1 48 03 70 08
>>>>> http://www.parrot.com
>>>>> --------------------------------------------------------------------------------
>>>>>
>>>>> This e-mail message and any attached document(s) are for the sole use of
>>>>> the intended recipient(s)and may contain confidential and legally
>>>>> privileged information.
>>>>> Any unauthorized review, copy, use and/or disclosure is prohibited.
>>>>> If you are not the intended recipient, please contact the sender by
>>>>> reply e-mail and destroy all copies of the original.
>>>>>
>>>>> ------------------------------------------------------------------------
>>>>>
>>>>> ______________________________________________________________________________
>>>>> Member info:https://lists.balabit.hu/mailman/listinfo/syslog-ng
>>>>> Documentation:http://www.balabit.com/support/documentation/?product=syslog-ng
>>>>> FAQ:http://www.campin.net/syslog-ng/faq.html
>>>>>
>>>>>
>>>
>>>
>>> --
>>> Fabien Bagard
>>> IT Department
>>> tel + 33 (0)1 48 03 60 40
>>>
>>> --------------------------------------------------------------------------------
>>> Parrot SA
>>> 174, Quai de Jemmapes | 75010 Paris - France
>>> tel + 33 (0)1 48 03 60 60 | fax + 33 (0)1 48 03 70 08
>>> http://www.parrot.com
>>> --------------------------------------------------------------------------------
>>>
>>> This e-mail message and any attached document(s) are for the sole use of
>>> the intended recipient(s)and may contain confidential and legally
>>> privileged information.
>>> Any unauthorized review, copy, use and/or disclosure is prohibited.
>>> If you are not the intended recipient, please contact the sender by
>>> reply e-mail and destroy all copies of the original.
>>>
>>> ------------------------------------------------------------------------
>>>
>>> ______________________________________________________________________________
>>> Member info:https://lists.balabit.hu/mailman/listinfo/syslog-ng
>>> Documentation:http://www.balabit.com/support/documentation/?product=syslog-ng
>>> FAQ:http://www.campin.net/syslog-ng/faq.html
>>>
>>>
>> ------------------------------------------------------------------------
>>
>> ______________________________________________________________________________
>> Member info:https://lists.balabit.hu/mailman/listinfo/syslog-ng
>> Documentation:http://www.balabit.com/support/documentation/?product=syslog-ng
>> FAQ:http://www.campin.net/syslog-ng/faq.html
>>
>>
--
Fabien Bagard
IT Department
tel + 33 (0)1 48 03 60 40
--------------------------------------------------------------------------------
Parrot SA
174, Quai de Jemmapes | 75010 Paris - France
tel + 33 (0)1 48 03 60 60 | fax + 33 (0)1 48 03 70 08
http://www.parrot.com
--------------------------------------------------------------------------------
This e-mail message and any attached document(s) are for the sole use of
the intended recipient(s)and may contain confidential and legally
privileged information.
Any unauthorized review, copy, use and/or disclosure is prohibited.
If you are not the intended recipient, please contact the sender by
reply e-mail and destroy all copies of the original.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.balabit.hu/pipermail/syslog-ng/attachments/20110119/091e8dd5/attachment-0001.htm
More information about the syslog-ng
mailing list