From owner-freebsd-questions Sun Sep 15 13:57:29 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 930BE37B400 for ; Sun, 15 Sep 2002 13:57:28 -0700 (PDT) Received: from rhadamanth.submonkey.net (pc2-cdif2-4-cust102.cdf.cable.ntl.com [80.4.11.102]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0023343E6E for ; Sun, 15 Sep 2002 13:57:27 -0700 (PDT) (envelope-from setantae@submonkey.net) Received: from setantae by rhadamanth.submonkey.net with local (Exim 4.10) id 17qgSN-0006MX-00; Sun, 15 Sep 2002 21:57:27 +0100 Date: Sun, 15 Sep 2002 21:57:27 +0100 From: Ceri Davies To: sroberts@dsl.pipex.com Cc: FreeBSD Questions Subject: Re: ndc status error from new named set-up Message-ID: <20020915205727.GA24115@submonkey.net> Mail-Followup-To: Ceri Davies , sroberts@dsl.pipex.com, FreeBSD Questions References: <1032122004.376.10.camel@Demon.vickiandstacey.com> <20020915204052.GA23453@submonkey.net> <1032122958.376.18.camel@Demon.vickiandstacey.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1032122958.376.18.camel@Demon.vickiandstacey.com> X-message-flag: All your linuxconf-configured redhat are belong to us. 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 Sun, Sep 15, 2002 at 09:49:17PM +0100, Stacey Roberts wrote: > Gosh, Thanks for the timely reply! > > I *did* perform run this when setting up bind just now: > > # ln -sf /etc/namedb/var/run/ndc /var/run/ndc > But I thought that somehow running the command allows me to side-step > that issue. Oh well.., It does, but /var/run gets emptied on a reboot, so you have to do it on every boot. > I figure that including a command in root's cron is the best way to > accomplish this. Do I need to include that symlink command in the cron > job, as in: > /bin/ln -sf /etc/namedb/var/run/ndc /var/run/ndc That's right, yes. I have : {root@rhadamanth}-{~} # crontab -l |grep ndc @reboot /bin/ln -sf /etc/namedb/var/run/ndc /var/run/ > Thanks again for your quick response Ceri, hope to hear from you again > on what I've put here. You're welcome. Ceri -- you can't see when light's so strong you can't see when light is gone To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message