Skip site navigation (1)Skip section navigation (2)
Date:      15 Sep 2002 21:49:17 +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:  <1032122958.376.18.camel@Demon.vickiandstacey.com>
In-Reply-To: <20020915204052.GA23453@submonkey.net>
References:  <1032122004.376.10.camel@Demon.vickiandstacey.com>  <20020915204052.GA23453@submonkey.net>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
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..,

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


Thanks again for your quick response Ceri, hope to hear from you again
on what I've put here.

Stacey


On Sun, 2002-09-15 at 21:40, Ceri Davies wrote:
> On Sun, Sep 15, 2002 at 09:33:22PM +0100, Stacey Roberts wrote:
> > Hello,
> >      I've just set up, what I hoped would be a caching nameserver in a
> > sandbox. However, after rebooting, I wanted to test to see that all is
> > well, and got some errors from running "ndc status":
> > # ndc status
> > ndc: error: ctl_client: evConnect(fd 3): No such file or directory
> > ndc: error: cannot connect to command channel (/var/run/ndc)
> 
> >From the article in the handbook:
> 
> ---
> Symlink /var/run/ndc to /etc/namedb/var/run/ndc:
> 
>     # ln -sf /etc/namedb/var/run/ndc /var/run/ndc
> 
> Note: This simply avoids having to specify the -c option to ndc(8) every
> time you run it. If this is something that you find useful, you may wish
> to add this entry to root's crontab, making use of the @reboot option.
> See crontab(5) for more information regarding this.
> ---
> 
> i.e., when you rebooted, /var/run/ndc got deleted, and you need to either
> remake it, or run ndc with "-c /etc/namedb/var/run/ndc".
> 
> 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
-- 
Stacey Roberts
B.Sc (HONS) Computer Science

Web: www.vickiandstacey.com

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5.8

iQEVAwUAPYTyTJvQeubckvvXAQEJqQf9Evc02LNA6SZIWuaqaDTAbZCMdxJXuvFM
uupWA9a/z2b7LHa0V3a83HTzJOcTCu7ZafyY6QsdrQ1lROXPwQ1gQQmFjNKPKpVu
cL+8BuziBbm6QDeeEulV7CCqNHcVOqCVPQPI2VMctlE5PFgK+O43C2PC9fwvXEiK
d660U2SO8p/kJ+aJY4h29Q4YpDjPAEOAR+jYXFroCa1oql8XmFkfVRpFgsLivPX2
VoStBbDUXvWfnlExHohB1IXge24zM3aeSZUgKSKvDvpnI9dBcIrN6BUwnCYVNp/1
kB3SntWD0knM45fT7emVQ0G9ryDhz7zOHHUVH3+yXZPP2Y3O01tVwg==
=7sC9
-----END PGP SIGNATURE-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1032122958.376.18.camel>