[syslog-ng] destination socket solaris 10 binding failure

Balazs Scheidler bazsi at balabit.hu
Sat Dec 1 17:16:46 CET 2007


On Fri, 2007-11-30 at 12:22 -0500, chris cobucci wrote:
> Dear users:
>  
> my first post, so please let me know if I commit some fo-paw.
>  
> can you let me know if I am mis-configuring something here -- it's my
> first attempt at using destination sockets:
>  
> system: sun solaris 10 (sparc)
> software: syslog-ng.2.0.5
>               syslog-ng.2.0.6
> (no extra-ordinary compile options)
>  
> /usr/local/etc/syslog-ng.conf (pertinent lines only)
>  
> destination poe { unix-dgram("/tmp/poeunixsocket"); };
> log { source(s_sys); destination(poe); };
>  
> socket file is 
> srwxr-xr-w root root           0 poeunixsocket
>  
> I figured with no listener, ng would just buffer.
>  
> starting ng (as root) I get:
>  
> Error binding socket; addr='AF_UNIX(anonymous)', error='Is a directory
> (21)'
> Initiating connection failed, reconnecting; time_reopen='10'

I don't see why syslog-ng would try to bind to an anonymous UNIX domain
socket prior to connecting. Can you run truss on the syslog-ng process
while it is doing this?

-- 
Bazsi



More information about the syslog-ng mailing list