I&#39;m using syslog-ng 1.6.11<br><br>Neither of the following lines works:<br><br>destination s_dgram { unix-dgram(&quot;/tmp/log.socket&quot;); };<br>destination d_unix_stream { unix-stream(&quot;/var/run/logs&quot;); };
<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> &lt;<a href="mailto:bazsi@balabit.hu">bazsi@balabit.hu</a>&gt; 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>&gt; Hello fellows.<br>&gt;<br>&gt; I will try to be brief with my question.<br>&gt; I am integrating a team that is developing a system where syslog will<br>&gt; receive messages and according to some match expressions will have to
<br>&gt; send those messages to another process.<br>&gt;<br>&gt; So, to do this, I have tried unix-dgram. I use Linux Ubuntu and what<br>&gt; happens is that when I reload or stop/start syslog I get CORE DUMPED.<br>&gt; I have made some research in the documents trying to find out the
<br>&gt; reason. What I understood was that unix.dgram only works in BSD.<br>&gt;<br>&gt; Is this the truth?<br>&gt;<br>&gt; My solution so far is to use a named pipe instead of an unix datagram<br>&gt; socket.<br>&gt;<br>
&gt; 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&nbsp;&nbsp;-&nbsp;&nbsp;<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>