From owner-freebsd-questions Tue Dec 31 4:23:48 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B002037B401 for ; Tue, 31 Dec 2002 04:23:47 -0800 (PST) Received: from rhadamanth.submonkey.net (pc1-cdif2-5-cust47.cdif.cable.ntl.com [81.101.150.47]) by mx1.FreeBSD.org (Postfix) with ESMTP id DDC8943EC5 for ; Tue, 31 Dec 2002 04:23:43 -0800 (PST) (envelope-from setantae@submonkey.net) Received: from setantae by rhadamanth.submonkey.net with local (Exim 4.10) id 18TLQs-0001UM-00; Tue, 31 Dec 2002 12:23:42 +0000 Date: Tue, 31 Dec 2002 12:23:42 +0000 From: Ceri Davies To: Didier Wiroth Cc: freebsd-questions@FreeBSD.ORG Subject: Re: how to use ndc when running in bind in a sandbox Message-ID: <20021231122342.GA5698@submonkey.net> References: <000101c2b00e$aeb874b0$952b6e94@lucifer> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <000101c2b00e$aeb874b0$952b6e94@lucifer> X-message-flag: All your linuxconf-configured redhat are belong to us. X-message-flag-attribution: suresh, sdm. User-Agent: Mutt/1.5.1i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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