[nsd-users] nsdc restart trivia
matthijs at nlnetlabs.nl
Tue Apr 22 08:10:38 UTC 2014
On 04/19/2014 12:04 AM, David Croft wrote:
> We have been experiencing this too on every nsdc restart since our
> upgrades to wheezy/nsd 3.2.5:
> Apr 18 22:49:28 os4 nsd: can't bind udp socket: Address
> already in use Apr 18 22:49:28 os4 nsd: server initialization
> failed, nsd could not be started
> It doesn't help that "nsdc running" has also been broken and no
> longer correctly detects whether nsd is running (always returns 0 due
> to the "return 1" being removed from the function "signal"), so the
> scripts we've been using to prevent this exact situation have also
> been failing to detect it exiting.
To my knowledge, the signal function has not been changed since 3.2.0,
that 'return 1' is still in the code.
> On 15 April 2014 21:10, Glenn English <ghe at slsware.net> wrote:
>> On Debian Wheezy, running on a 2+ GHz 4 core Xeon, 'nsdc restart'
>> just stopped nsd3. Adding a 'sleep 1' after the 'done' in nsdc's
>> controlled_stop got it to stop and start.
>> On a Raspberry Pi (with its built in sleep 1), it was fine...
controlled_sleep should avoid just that. Adding a 'sleep 1' might work,
but it feels to me not like a genuine solution.
>> -- Glenn English
>> _______________________________________________ nsd-users mailing
>> list nsd-users at NLnetLabs.nl
> _______________________________________________ nsd-users mailing
> list nsd-users at NLnetLabs.nl
More information about the nsd-users