[nsd-users] Starting NSD on Debian with systemd fails

Stephane Bortzmeyer bortzmeyer at nic.fr
Sat Oct 18 15:40:03 UTC 2014


On Sat, Oct 18, 2014 at 05:30:47PM +0200,
 Lukas Wunner <lukas at wunner.de> wrote 
 a message of 21 lines which said:

> That's not sufficient, try:
> Wants=network-online.target
> After=network-online.target

Does not work.

% sudo systemctl status nsd
[sudo] password for stephane: 
● nsd.service - Name Server Daemon
   Loaded: loaded (/lib/systemd/system/nsd.service; enabled)
   Active: failed (Result: start-limit) since Sat 2014-10-18 15:38:49
   UTC; 36s ago
  Process: 2786 ExecStart=/usr/sbin/nsd -d -c $CONFFILE (code=exited,
  status=1/FAILURE)
  Process: 2779 ExecStartPre=/bin/sh -c /bin/chown
  "$(/usr/sbin/nsd-checkconf -o username $CONFFILE)" "$(dirname
  "$(/usr/sbin/nsd-checkconf -o database $CONFFILE)")" (code=exited,
  status=0/SUCCESS)
  Process: 2773 ExecStartPre=/bin/sh -c /bin/mkdir -p "$(dirname
  "$(/usr/sbin/nsd-checkconf -o database $CONFFILE)")" (code=exited,
  status=0/SUCCESS)
  Process: 2766 ExecStartPre=/bin/sh -c /bin/chown
  "$(/usr/sbin/nsd-checkconf -o username $CONFFILE)" "$(dirname
  "$(/usr/sbin/nsd-checkconf -o pidfile $CONFFILE)")" (code=exited,
  status=0/SUCCESS)
  Process: 2761 ExecStartPre=/bin/sh -c /bin/mkdir -p "$(dirname
  "$(/usr/sbin/nsd-checkconf -o pidfile $CONFFILE)")" (code=exited,
  status=0/SUCCESS)
 Main PID: 2786 (code=exited, status=1/FAILURE)

Oct 18 15:38:48 mononoke.bortzmeyer.org systemd[1]: nsd.service: main
process exited, code=exited, status=1/FAILURE
Oct 18 15:38:48 mononoke.bortzmeyer.org systemd[1]: Unit nsd.service
entered failed state.
Oct 18 15:38:49 mononoke.bortzmeyer.org systemd[1]: nsd.service
holdoff time over, scheduling restart.
Oct 18 15:38:49 mononoke.bortzmeyer.org systemd[1]: Stopping Name
Server Daemon...
Oct 18 15:38:49 mononoke.bortzmeyer.org systemd[1]: Starting Name
Server Daemon...
Oct 18 15:38:49 mononoke.bortzmeyer.org systemd[1]: nsd.service start
request repeated too quickly, refusing to start.
Oct 18 15:38:49 mononoke.bortzmeyer.org systemd[1]: Failed to start
Name Server Daemon.
Oct 18 15:38:49 mononoke.bortzmeyer.org systemd[1]: Unit nsd.service
entered failed state.



More information about the nsd-users mailing list