I'm using syslog-ng 1.6.11<br><br>Neither of the following lines works:<br><br>destination s_dgram { unix-dgram("/tmp/log.socket"); };<br>destination d_unix_stream { unix-stream("/var/run/logs"); };
<br><br><br>For both, used separately, the error is:<br>CONSOLE:<br>sudo /etc/init.d/syslog-ng stop<br>sudo /etc/init.d/syslog-ng start<br>Starting system logging: syslog-ngSegmentation fault (core dumped) start failed.<br>
<br><br>Many thanks.<br>Bruno.<br><br><div><span class="gmail_quote">On 3/2/07, <b class="gmail_sendername">Balazs Scheidler</b> <<a href="mailto:bazsi@balabit.hu">bazsi@balabit.hu</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Thu, 2007-03-01 at 15:07 +0000, Bruno Vieira wrote:<br>> Hello fellows.<br>><br>> I will try to be brief with my question.<br>> I am integrating a team that is developing a system where syslog will<br>> receive messages and according to some match expressions will have to
<br>> send those messages to another process.<br>><br>> So, to do this, I have tried unix-dgram. I use Linux Ubuntu and what<br>> happens is that when I reload or stop/start syslog I get CORE DUMPED.<br>> I have made some research in the documents trying to find out the
<br>> reason. What I understood was that unix.dgram only works in BSD.<br>><br>> Is this the truth?<br>><br>> My solution so far is to use a named pipe instead of an unix datagram<br>> socket.<br>><br>
> Tell me your opinion please.<br><br>which syslog-ng version are you using? both unix-dgram/unix-stream<br>destinations should work on Linux.<br><br>--<br>Bazsi<br><br>_______________________________________________<br>
syslog-ng maillist - <a href="mailto:syslog-ng@lists.balabit.hu">syslog-ng@lists.balabit.hu</a><br><a href="https://lists.balabit.hu/mailman/listinfo/syslog-ng">https://lists.balabit.hu/mailman/listinfo/syslog-ng</a><br>
Frequently asked questions at <a href="http://www.campin.net/syslog-ng/faq.html">http://www.campin.net/syslog-ng/faq.html</a><br><br></blockquote></div><br>