socket.c:2135: unexpected error:

Jie Gao J.Gao at sydney.edu.au
Thu Jun 7 01:47:51 UTC 2018


This is from the source code:

---


                /*
                 * The other error types depend on whether or not the
                 * socket is UDP or TCP.  If it is UDP, some errors
                 * that we expect to be fatal under TCP are merely
                 * annoying, and are really soft errors.
                 *
                 * However, these soft errors are still returned as
                 * a status.
                 */
                isc_sockaddr_format(&dev->address, addrbuf, sizeof(addrbuf));
                isc__strerror(send_errno, strbuf, sizeof(strbuf));
->              UNEXPECTED_ERROR(__FILE__, __LINE__, "internal_send: %s: %s",
                                 addrbuf, strbuf);
                dev->result = isc__errno2result(send_errno);
                inc_stats(sock->manager->stats,
                          sock->statsindex[STATID_SENDFAIL]);
                return (DOIO_HARD);

---

Regards,



Jie


* hotta at iij.ad.jp <hotta at iij.ad.jp> wrote:

> Date: Thu, 7 Jun 2018 10:23:48 +0900
> From: hotta at iij.ad.jp
> To: Bob Harold <rharolde at umich.edu>
> CC: "bind-users at lists.isc.org" <bind-users at lists.isc.org>, hotta at iij.ad.jp
> Subject: Re: socket.c:2135: unexpected error:
> X-Mailer: Becky! ver. 2.70 [ja]
> 
> 
> On Tue, 5 Jun 2018 12:48:53 -0400
> Bob Harold <rharolde at umich.edu> wrote:
> 
> > On Mon, Jun 4, 2018 at 10:57 PM <hotta at iij.ad.jp> wrote:
> > 
> > >
> > > Hi,
> > >
> > > After upgrading BIND from 9.9.9-P5 to 9.11.3., the following messages
> > > have been displayed continuously in the file /var/log/messages as below.
> > >
> > > ---------
> > > May 29 02:36:50 dns01 nanny[5609]: debug start 1
> > > May 29 02:37:08 dns01 named[1679]: socket.c:2135: unexpected error:
> > > May 29 02:37:08 dns01 named[1679]: internal_send: [global IPv6
> > > address]#38306: Invalid argument
> > > May 29 02:37:20 dns01 nanny[5617]: debug start 1
> > > May 29 02:37:24 dns01 named[1679]: socket.c:2135: unexpected error:
> > > May 29 02:37:24 dns01 named[1679]: internal_send: [global IPv6
> > > address]#36987: Invalid argument
> > > May 29 02:37:47 dns01 named[1679]: socket.c:2135: unexpected error:
> > > May 29 02:37:47 dns01 named[1679]: internal_send: [global IPv6
> > > address]#35862: Invalid argument
> > > May 29 02:37:48 dns01 named[1679]: socket.c:2135: unexpected error:
> > > May 29 02:37:48 dns01 named[1679]: internal_send: [global IPv6
> > > address]#39895: Invalid argument
> > > May 29 02:37:50 dns01 nanny[5632]: debug start 1
> > > May 29 02:38:00 dns01 named[1679]: socket.c:2135: unexpected error:
> > > May 29 02:38:00 dns01 named[1679]: internal_send: [global IPv6
> > > address]#38979: Invalid argument
> > > :
> > > ---------
> > >
> > > OS  : Red Hat Enterprise Linux Server 6.5
> > >
> > > DNS service seems to be working fine, but I don't understand the cause
> > > and how to fix the errors.
> > >
> > > Any advice would be greatly appreciated.
> > >
> > >
> > > Regards,
> > > Hotta
> > >
> > 
> > Just guessing, but it sounds like " [global IPv6 address]" is either
> > malformed, or it is expecting an IPv4 address.
> > 
> > -- 
> > Bob Harold
> 
> Thank you for advice.
> [global IPv6 address] looks like the right address.
> We did not know the cause of errors, so returned to the previous version
> on the production environment.
> After that we have tried various tests in our IPv6 testing environment,
> but it works fine without the same errors.
> 
> --
> Hotta
> 
> 
> _______________________________________________
> Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list
> 
> bind-users mailing list
> bind-users at lists.isc.org
> https://lists.isc.org/mailman/listinfo/bind-users
> 



More information about the bind-users mailing list