Re: nsd does not stop

2018-05-06 Thread Dimitris Papastamos
On Thu, May 03, 2018 at 07:57:45PM +0530, Vivek Vinod wrote:
> Dear Misc,
> 
> on stopping nsd from command line, nsd does not stop at all
> 
> Config:
> OpenBSD 6.3
> nsd remote control is disabled

enable remote control



Re: nsd does not stop

2018-05-06 Thread Maxim Bourmistrov

Is nsd.conf broken?

shell# nsd-checkconf /var/nsd/etc/nsd.conf



> 3 maj 2018 kl. 16:27 skrev Vivek Vinod <vi...@icanconnect.com>:
> 
> Dear Misc,
> 
> on stopping nsd from command line, nsd does not stop at all
> 
> Config:
> OpenBSD 6.3
> nsd remote control is disabled
> nsd ipv6 is disabled
> 
> $doas rcctl restart nsd
> (failed)
> 
> $doas rcctl stop nsd
> $echo $?
> 0
> 
> $doas rcctl start nsd
> (failed)
> 
> $doas tail -f /var/log/nsd.log
> error: can't bind udp socket: Address already in use
> error: server initialization failed, nsd could not be started
> 
> $ps aux | grep nsd
> shows running processes
> 
> if I kill the processes, I can start nsd. However, it is just that nsd does
> not stop if I want it to
> 
> even
> $doas /etc/rc.d/nsd stop | restart
> does not work.
> 
> What am I doing wrong here? Pooped. Any help would be appreciated.
> 
> regards,
> Vivek



nsd does not stop

2018-05-03 Thread Vivek Vinod
Dear Misc,

on stopping nsd from command line, nsd does not stop at all

Config:
OpenBSD 6.3
nsd remote control is disabled
nsd ipv6 is disabled

$doas rcctl restart nsd
(failed)

$doas rcctl stop nsd
$echo $?
0

$doas rcctl start nsd
(failed)

$doas tail -f /var/log/nsd.log
error: can't bind udp socket: Address already in use
error: server initialization failed, nsd could not be started

$ps aux | grep nsd
shows running processes

if I kill the processes, I can start nsd. However, it is just that nsd does
not stop if I want it to

even
$doas /etc/rc.d/nsd stop | restart
does not work.

What am I doing wrong here? Pooped. Any help would be appreciated.

regards,
Vivek