Re: problems sending reload xfrdtomain: Broken pipe

Wouter Wijngaards <[email protected]>
Newsgroups gmane.network.dns.nsd.general
Message-ID <[email protected]>
Hi Pierre-Philipp,

Setting database: "" in the configuration may help.

But regardless, I would like to reproduce the error.  If you could
(off-list, privately) send me the zonefile?

My guess is that the content of the zonefile somehow gives a problem, if
the below configuration causes the crash.

About debug info, NSD has the option to emit more debug information,
with -V 5.  If compiled with debug enabled, also -F -1 -L 2 can emit
even more debug information (per-packet and per-zone-update, so that is
a lot).

Best regards, Wouter

On 5/12/19 2:30 PM, pierre-philipp braun wrote:
> Yolo
> 
> I've compiled 4.1.27 on netbsd-current (8.99) without any issue, then configured it with a single forward zone and I always end-up with this error no matter what.
> 
> nsd[22124]: nsd starting (NSD 4.1.27)
> nsd[22124]: ...stale pid file from process 28114
> nsd[22124]: setup SSL certificates
> nsd[22673]: /nsd.db: not cleanly closed 0
> nsd[22673]: can not use /nsd.db, will create anew
> nsd[22673]: zone nethence.com read with success
> nsd[22673]: zone nethence.com written to db
> nsd[16988]: problems sending reload xfrdtomain: Broken pipe
> nsd[16988]: did not get start signal from main
> 
> Same goes with remote-control enabled
> Same goes with more advanced chroot pathes
> 
> I found the previous thread from 2014 on that matter but getting rid of /var/db/nsd/nsd.db (nor /var/run/nsd/nsd.pid) beforehand does not help.  My case seems different.
> 
> What is xfrdtomain expecting, is it creating a socket file?  And why is this called anyway, as the following MWE does NOT mandate any zone transfers to happen?  What could be causing the problem?  How to debug this?
> 
> server:
>         verbosity: 3
> 
> remote-control:
>         control-enable: no
> 
> zone:   
>         name: "nethence.com"
>         zonefile: "%s.db"
> 
> 
> I also looked at ktrace/kdump (netbsd's equivalent for strace) and I see some
> 
>  12105      1 nsd      RET   setsockopt -1 errno 55 No buffer space available
> 
> Other daemon live fine on this system so I doubt this is a netbsd bug (although that's current)
> 
> And thank you for the nice piece of software
> 
> _______________________________________________
> nsd-users mailing list
> [email protected]
> https://open.nlnetlabs.nl/mailman/listinfo/nsd-users
>

_______________________________________________
nsd-users mailing list
[email protected]
https://open.nlnetlabs.nl/mailman/listinfo/nsd-users
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEE7fqj8spObrBWga+On28cLX4EX40FAlzZF90ACgkQn28cLX4E
X40nOg//WKXi/MfWg9c1m5Q4J0Sf95VSUWkNc5N9BiwYIoS5AX4Z2NS1JJ80ORwB
Ktu5tWYDc++KbEzuWJ/b/xiUiRMIpvJ88XWIJQM9n0uOELB1A3fazECmNfUj34sU
+SzX8CmeY9aM8ufNDGJGE7EHCG4cjwRy4pUlhVV5pKge10pNjGCbu6lv1BT/gw1G
stcS/VpuqkhdfXsI2NGyY4qdXMCTWQnIDLeUdivFhAo1ZAejb9mQJUjmKpzzQt4+
U+V+ATGZ2XnWL5cOZvwo1rXquBWxzMtdB+kcBJrGyG2C4yfI87+U1fhyytkG+DvE
N6mJ5tYnEpfpV9SBgFQxQYAAGoS9AvNO8HtMjRgfPj4Y3BPiAfhGUYo6PCYTUsiW
Dm6BMWMtxprn9MaPK3jqqrCJatOD9M+mijJ7CRLAzP2PLuBGclUxX9p3Dau95Amj
1/mDIZGZika1ETEicK+1FxOu3qHVbqkscdrWeG9Nzulfn1SoWHi/BOIfoBwLsMVl
QjsBG+e4lxAaI+lTZjHHoINSFm9IZ8YweeEz4JAB+X+QxsS9FhwZFqmrgqSU2gqy
8VxC/+0z6s+B7KCzXurs1nbdVl+a/wFoAL1ifp5Iwq9dt0cQhEopjms2pqrQ15a8
3zFgmxzla+XusHRhxGZ8ZEarU/ZgO/agFqdgozJPsXqwymrETmM=
=hC8j
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.