[syslog-ng] destination socket solaris 10 binding failure

chris cobucci cobucci_chris at hotmail.com
Sun Dec 2 02:44:01 CET 2007


Bazsi:
Thank you for the prompt reply.
 
hope this is what you were looking for:
 
truss -p 4293 /1:     pollsys(0x00048600, 1, 0xFFBFF9C0, 0x00000000) (sleeping...)/1:     pollsys(0x00048600, 1, 0xFFBFF9C0, 0x00000000)  = 0/1:     so_socket(PF_UNIX, SOCK_DGRAM, 0, "", SOV_DEFAULT) = 7/1:     fcntl(7, F_GETFL)                               = 2/1:     fcntl(7, F_SETFL, FWRITE|FNONBLOCK)             = 0/1:     fcntl(7, F_GETFD, 0x00000082)                   = 0/1:     fcntl(7, F_SETFD, 0x00000001)                   = 0/1:     bind(7, 0x0004FA28, 2, SOV_SOCKBSD)             Err#21 EISDIR/1:     time()                                          = 1196535672/1:     getpid()                                        = 4293 [1]/1:     time()                                          = 1196535672/1:     close(7)                                        = 0/1:     time()                                          = 1196535672/1:     getpid()                                        = 4293 [1]/1:     time()                                          = 1196535672/1:     pollsys(0x00048600, 1, 0xFFBFF9C0, 0x00000000)  = 0/1:     time()                                          = 1196535672/1:     time()                                          = 1196535672/1:     pollsys(0x00048600, 3, 0xFFBFF9C0, 0x00000000)  = 2/1:     write(5, " D e c     1   1 4 : 0 1".., 119)     = 119/1:     write(6, " D e c     1   1 4 : 0 1".., 119)     = 119/1:     pollsys(0x00048600, 1, 0xFFBFF9C0, 0x00000000)  = 0/1:     time()                                          = 1196535672/1:     time()                                          = 1196535672/1:     pollsys(0x00048600, 3, 0xFFBFF9C0, 0x00000000)  = 2/1:     write(5, " D e c     1   1 4 : 0 1".., 103)     = 103/1:     write(6, " D e c     1   1 4 : 0 1".., 103)     = 103/1:     pollsys(0x00048600, 1, 0xFFBFF9C0, 0x00000000) (sleeping...)
thanks again,
Chris
 
 



> From: bazsi at balabit.hu> To: syslog-ng at lists.balabit.hu> Date: Sat, 1 Dec 2007 17:16:46 +0100> Subject: Re: [syslog-ng] destination socket solaris 10 binding failure> > > 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> > _______________________________________________> 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> 
_________________________________________________________________
Share life as it happens with the new Windows Live.Download today it's FREE!
http://www.windowslive.com/share.html?ocid=TXT_TAGLM_Wave2_sharelife_112007
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.balabit.hu/pipermail/syslog-ng/attachments/20071201/3b9e127a/attachment-0001.htm 


More information about the syslog-ng mailing list