Discussion:
socket.c:2135: unexpected error:
Jie Gao
2018-06-07 01:47:51 UTC
Permalink
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
Date: Thu, 7 Jun 2018 10:23:48 +0900
X-Mailer: Becky! ver. 2.70 [ja]
On Tue, 5 Jun 2018 12:48:53 -0400
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]: 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]: internal_send: [global IPv6
address]#36987: Invalid argument
May 29 02:37:47 dns01 named[1679]: internal_send: [global IPv6
address]#35862: Invalid argument
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]: 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
https://lists.isc.org/mailman/listinfo/bind-users
_______________________________________________
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list

bind-users mailing list
bind-***@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users
Mark Andrews
2018-06-07 02:01:08 UTC
Permalink
Check the firewall settings. Invalid argument is indicative of a misconfigured firewall.
--
Mark Andrews
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]: 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]: internal_send: [global IPv6 address]#36987: Invalid argument
May 29 02:37:47 dns01 named[1679]: internal_send: [global IPv6 address]#35862: Invalid argument
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]: 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
_______________________________________________
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list
bind-users mailing list
https://lists.isc.org/mailman/listinfo/bind-users
_______________________________________________
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list

bind-users mailing list
bind-***@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users
Loading...