[rsyslog] what does error -2077 trying to add listener mean
Rainer Gerhards
rgerhards at hq.adiscon.com
Mon Mar 16 16:59:52 CET 2009
This sounds like some quirk with IPv6...
> -----Original Message-----
> From: rsyslog-bounces at lists.adiscon.com [mailto:rsyslog-
> bounces at lists.adiscon.com] On Behalf Of Thomas Mieslinger
> Sent: Monday, March 16, 2009 4:57 PM
> To: rsyslog-users
> Subject: Re: [rsyslog] what does error -2077 trying to add listener
> mean
>
> Hi Rainer,
>
> there is only one place where RS_RET_COULD_NOT_BIND is returned:
>
> runtime/nsd_ptcp.c
>
> numSocks = 0; /* num of sockets counter at start of array */
> for(r = res; r != NULL ; r = r->ai_next) {
> sock = socket(r->ai_family, r->ai_socktype, r-
> >ai_protocol);
>
> [ lots of magic ]
>
> }
>
> if(numSocks == 0) {
> dbgprintf("No TCP listen sockets could successfully be
> initialized");
> ABORT_FINALIZE(RS_RET_COULD_NOT_BIND);
> }
>
> I have no idea why the OS reports the Sockets open and messages get
> received, maybe there is a minor problem in the code, but somehow it
> works...
>
> Thomas
> _______________________________________________
> rsyslog mailing list
> http://lists.adiscon.net/mailman/listinfo/rsyslog
> http://www.rsyslog.com
More information about the rsyslog
mailing list