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>
next in thread | previous in thread | raw e-mail | index | archive | help
--=-is4U8AugMO8sp4qTkR3Y Content-Type: text/plain Content-Transfer-Encoding: quoted-printable 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 =20 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! > >=20 > > 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.., >=20 > It does, but /var/run gets emptied on a reboot, so you have to do it on > every boot. >=20 > > 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 >=20 > That's right, yes. I have : >=20 > {root@rhadamanth}-{~} # crontab -l |grep ndc > @reboot /bin/ln -sf /etc/namedb/var/run/ndc /var/run/ >=20 > > Thanks again for your quick response Ceri, hope to hear from you again > > on what I've put here. >=20 > You're welcome. >=20 > Ceri >=20 > --=20 > you can't see when light's so strong > you can't see when light is gone --=20 Stacey Roberts B.Sc (HONS) Computer Science Web: www.vickiandstacey.com --=-is4U8AugMO8sp4qTkR3Y Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----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----- --=-is4U8AugMO8sp4qTkR3Y-- 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?1032123951.376.22.camel>