Date: 15 Sep 2002 22:05:50 +0100 From: Stacey Roberts <stacey@Demon.vickiandstacey.com> To: Ceri Davies <setantae@submonkey.net> Cc: sroberts@dsl.pipex.com, FreeBSD Questions <freebsd-questions@FreeBSD.ORG> Subject: Re: ndc status error from new named set-up Message-ID: <1032123951.376.22.camel@Demon.vickiandstacey.com> In-Reply-To: <20020915205727.GA24115@submonkey.net> References: <1032122004.376.10.camel@Demon.vickiandstacey.com> <20020915204052.GA23453@submonkey.net> <1032122958.376.18.camel@Demon.vickiandstacey.com> <20020915205727.GA24115@submonkey.net>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --]
Hi Ceri,
Great to hear back from you!
Here's what I've now placed in root crontab for ndc:
# Start ndc on reboot
@reboot /bin/ln -sf /etc/namedb/var/run/ndc /var/run/ndc
So from what I now understand, I can simply run:
"ln -sf /etc/namedb/var/run/ndc /var/run/ndc" and ndc status should
return some meaningful information?
Thanks again, Ceri.
Stacey
On Sun, 2002-09-15 at 21:57, Ceri Davies wrote:
> 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
--
Stacey Roberts
B.Sc (HONS) Computer Science
Web: www.vickiandstacey.com
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5.8
iQEVAwUAPYT2LpvQeubckvvXAQGUoAgAj3NhYuT2UaBzo719VP/yfVj5f4ddx6PG
BQYvPA6tMJHpVlKJO06GLYEzrQvUwY9ndCeGUuHRiNxTMc9e+9LTkXxgmsLFXVSN
nZ77yLuXMP+HNZUehfzq2D9ZLFmr7xhab30YckXIm6vJttb/5nZr7b6DoZ/siNCN
2xDizTNmBU++wemIgw5M6+SuN3Lh8wKrkXWxX2mt8NlhIivRj8401FwrbHAf9Lub
NTIRY2gV0l/uXQx6duhganNTjXyYyrCimUdbcNRO0PZ7LxKjvhtle2sdkzAFlMMy
gST5zn46fU48Un4s2rH2F0Wub82HbhMFMYgvlr4fbk97juuF9D+utw==
=pxu0
-----END PGP SIGNATURE-----
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1032123951.376.22.camel>
