<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'>Bazsi:<BR>
Thank you for the prompt reply.<BR>
<BR>
hope this is what you were looking for:<BR>
<BR>
truss -p 4293 <BR><BR><BR><BR>/1: pollsys(0x00048600, 1, 0xFFBFF9C0, 0x00000000) (sleeping...)<BR>/1: pollsys(0x00048600, 1, 0xFFBFF9C0, 0x00000000) = 0<BR>/1: so_socket(PF_UNIX, SOCK_DGRAM, 0, "", SOV_DEFAULT) = 7<BR>/1: fcntl(7, F_GETFL) = 2<BR>/1: fcntl(7, F_SETFL, FWRITE|FNONBLOCK) = 0<BR>/1: fcntl(7, F_GETFD, 0x00000082) = 0<BR>/1: fcntl(7, F_SETFD, 0x00000001) = 0<BR>/1: bind(7, 0x0004FA28, 2, SOV_SOCKBSD) Err#21 EISDIR<BR>/1: time() = 1196535672<BR>/1: getpid() = 4293 [1]<BR>/1: time() = 1196535672<BR>/1: close(7) = 0<BR>/1: time() = 1196535672<BR>/1: getpid() = 4293 [1]<BR>/1: time() = 1196535672<BR>/1: pollsys(0x00048600, 1, 0xFFBFF9C0, 0x00000000) = 0<BR>/1: time() = 1196535672<BR>/1: time() = 1196535672<BR>/1: pollsys(0x00048600, 3, 0xFFBFF9C0, 0x00000000) = 2<BR>/1: write(5, " D e c 1 1 4 : 0 1".., 119) = 119<BR>/1: write(6, " D e c 1 1 4 : 0 1".., 119) = 119<BR>/1: pollsys(0x00048600, 1, 0xFFBFF9C0, 0x00000000) = 0<BR>/1: time() = 1196535672<BR>/1: time() = 1196535672<BR>/1: pollsys(0x00048600, 3, 0xFFBFF9C0, 0x00000000) = 2<BR>/1: write(5, " D e c 1 1 4 : 0 1".., 103) = 103<BR>/1: write(6, " D e c 1 1 4 : 0 1".., 103) = 103<BR>/1: pollsys(0x00048600, 1, 0xFFBFF9C0, 0x00000000) (sleeping...)<BR><BR>
thanks again,<BR>
Chris<BR>
<BR>
<BR>
<HR id=stopSpelling>
<BR>
> From: bazsi@balabit.hu<BR>> To: syslog-ng@lists.balabit.hu<BR>> Date: Sat, 1 Dec 2007 17:16:46 +0100<BR>> Subject: Re: [syslog-ng] destination socket solaris 10 binding failure<BR>> <BR>> <BR>> On Fri, 2007-11-30 at 12:22 -0500, chris cobucci wrote:<BR>> > Dear users:<BR>> > <BR>> > my first post, so please let me know if I commit some fo-paw.<BR>> > <BR>> > can you let me know if I am mis-configuring something here -- it's my<BR>> > first attempt at using destination sockets:<BR>> > <BR>> > system: sun solaris 10 (sparc)<BR>> > software: syslog-ng.2.0.5<BR>> > syslog-ng.2.0.6<BR>> > (no extra-ordinary compile options)<BR>> > <BR>> > /usr/local/etc/syslog-ng.conf (pertinent lines only)<BR>> > <BR>> > destination poe { unix-dgram("/tmp/poeunixsocket"); };<BR>> > log { source(s_sys); destination(poe); };<BR>> > <BR>> > socket file is <BR>> > srwxr-xr-w root root 0 poeunixsocket<BR>> > <BR>> > I figured with no listener, ng would just buffer.<BR>> > <BR>> > starting ng (as root) I get:<BR>> > <BR>> > Error binding socket; addr='AF_UNIX(anonymous)', error='Is a directory<BR>> > (21)'<BR>> > Initiating connection failed, reconnecting; time_reopen='10'<BR>> <BR>> I don't see why syslog-ng would try to bind to an anonymous UNIX domain<BR>> socket prior to connecting. Can you run truss on the syslog-ng process<BR>> while it is doing this?<BR>> <BR>> -- <BR>> Bazsi<BR>> <BR>> _______________________________________________<BR>> syslog-ng maillist - syslog-ng@lists.balabit.hu<BR>> https://lists.balabit.hu/mailman/listinfo/syslog-ng<BR>> Frequently asked questions at http://www.campin.net/syslog-ng/faq.html<BR>> <BR><BR><br /><hr />Share life as it happens with the new Windows Live. <a href='http://www.windowslive.com/share.html?ocid=TXT_TAGLM_Wave2_sharelife_112007' target='_new'>Share now!</a></body>
</html>