[syslog-ng] Unix datagram
Bruno Vieira
giuliapo at gmail.com
Fri Mar 2 16:01:02 CET 2007
I'm using syslog-ng 1.6.11
Neither of the following lines works:
destination s_dgram { unix-dgram("/tmp/log.socket"); };
destination d_unix_stream { unix-stream("/var/run/logs"); };
For both, used separately, the error is:
CONSOLE:
sudo /etc/init.d/syslog-ng stop
sudo /etc/init.d/syslog-ng start
Starting system logging: syslog-ngSegmentation fault (core dumped) start
failed.
Many thanks.
Bruno.
On 3/2/07, Balazs Scheidler <bazsi at balabit.hu> wrote:
>
> On Thu, 2007-03-01 at 15:07 +0000, Bruno Vieira wrote:
> > Hello fellows.
> >
> > I will try to be brief with my question.
> > I am integrating a team that is developing a system where syslog will
> > receive messages and according to some match expressions will have to
> > send those messages to another process.
> >
> > So, to do this, I have tried unix-dgram. I use Linux Ubuntu and what
> > happens is that when I reload or stop/start syslog I get CORE DUMPED.
> > I have made some research in the documents trying to find out the
> > reason. What I understood was that unix.dgram only works in BSD.
> >
> > Is this the truth?
> >
> > My solution so far is to use a named pipe instead of an unix datagram
> > socket.
> >
> > Tell me your opinion please.
>
> which syslog-ng version are you using? both unix-dgram/unix-stream
> destinations should work on Linux.
>
> --
> Bazsi
>
> _______________________________________________
> syslog-ng maillist - syslog-ng at lists.balabit.hu
> https://lists.balabit.hu/mailman/listinfo/syslog-ng
> Frequently asked questions at http://www.campin.net/syslog-ng/faq.html
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.balabit.hu/pipermail/syslog-ng/attachments/20070302/b7dca05a/attachment.html
More information about the syslog-ng
mailing list