[nsd-users] nsdc restart trivia
Matthijs Mekking
matthijs at nlnetlabs.nl
Tue Apr 22 08:10:38 UTC 2014
Hi,
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[26962]: can't bind udp socket: Address
> already in use Apr 18 22:49:28 os4 nsd[26962]: 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.
> David
>
> 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.
Best regards,
Matthijs
>>
>> -- Glenn English
>>
>>
>>
>>
>> _______________________________________________ nsd-users mailing
>> list nsd-users at NLnetLabs.nl
>> http://open.nlnetlabs.nl/mailman/listinfo/nsd-users
>>
> _______________________________________________ nsd-users mailing
> list nsd-users at NLnetLabs.nl
> http://open.nlnetlabs.nl/mailman/listinfo/nsd-users
>
More information about the nsd-users
mailing list