Date: Tue, 31 Dec 2002 12:23:42 +0000 From: Ceri Davies <setantae@submonkey.net> To: Didier Wiroth <didier.wiroth@mcesr.etat.lu> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: how to use ndc when running in bind in a sandbox Message-ID: <20021231122342.GA5698@submonkey.net> In-Reply-To: <000101c2b00e$aeb874b0$952b6e94@lucifer> References: <000101c2b00e$aeb874b0$952b6e94@lucifer>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Dec 30, 2002 at 03:21:02PM +0100, Didier Wiroth wrote: > > dns# ll > total 2 > -rw-r--r-- 1 bind bind 4 Dec 30 11:39 named.pid > srw------- 1 root wheel 0 Dec 30 11:39 ndc > dns# pwd > /etc/namedb/var/run > dns# ndc reload > ndc: error: ctl_client: evConnect(fd 3): No such file or directory > ndc: error: cannot connect to command channel (/var/run/ndc) Have you rebooted since creating the /var/run/ndc -> /etc/namedb/var/run/ndc symlink ? If so, it will have been deleted. > What am I missing? What do I have to modify to be able to use ndc? Either arrange for the symlink to be recreated after each boot, or use an alias for ndc of "ndc -c /etc/namedb/var/run/ndc". Ceri -- From the mountain of the axe I come! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021231122342.GA5698>