'failed setting up socket' error with BIND9 on Solaris 2.5

Mark Andrews Mark_Andrews at isc.org
Mon Nov 21 22:09:36 UTC 2005


> Hi Mark,
> 
> > 	Looks like you are dealing with a kernel bug in SunOS 5.5.1.
> > 	My bet is that connect() is complaining that bind() has already
> > 	been called on the socket.  
> 
> Yep, you're right ! :-)
> 
> > This is done to get the correct
> > 	source address for the packets.
> > 	You should be able to remove the isc_socket_bind() call but
> > 	transfer-source will nolonger be effective for the TCP connection.
> [....]
> 
> 
> I compiled the bind again with your suggestions and that seems to work for me
> now. I am really happy :-)
> The transfer-source option is  not really needed in my case.
> 
> Thanks a lot for your help ! 
> 
> -Udo 

	No worries.

	Note there will be a similar issues with the isc_socket_bind()
	calls in lib/dns/resolver.c and lib/dns/request.c.

	Mark
--
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: Mark_Andrews at isc.org



More information about the bind-users mailing list