ndc socket?

Barry Margolin barmar at genuity.net
Tue Jun 20 18:23:41 UTC 2000


In article <skvchspve7f19 at corp.supernews.com>,
Jack Barnett <jbarnett at axil.netmate.com> wrote:
>Jun 20 12:06:49 imp named[8367]: unix control "/usr/local/bind/etc/ndc"
>socket failed: No such file or directory
>Jun 20 12:06:49 imp named[8367]: unix control "/usr/local/bind/etc/ndc"
>socket failed: No such file or directory
>Jun 20 12:06:49 imp named[8367]: ctl_server: socket: No such file or
>directory
>Jun 20 12:06:49 imp named[8367]: ctl_server: socket: No such file or
>directory
>Jun 20 12:06:50 imp named[8371]: Ready to answer queries.
>Jun 20 12:06:50 imp named[8371]: Ready to answer queries.
>
>The machine is a Sparc Station 20 running Solaris 2.5.1 and Bind 8.2.2-p5
>(the newest) and I am trying to chroot it in the /usr/local/bind directory.
>
>Everything is working expect for this aspect in the "-t /usr/local/bind"
>envoirment. If you run it out of chroot it works find and creates a "socket"
>(??) under /usr/local/bind/etc called "ndc|". When under chroot it doesn't
>create this file, even if you have "/usr/local/bind/usr/local/bind/etc" to
>try and "fool" it.

Does the userid you're running named as have write permission to that
directory, so it can create the socket?

>I read on the mail list archives that this is the default path set at
>compile time, I was wonding if there was an option to specif where it should
>go, for example like the `name-xfer "sbin/named-xfer";` options, I tried
>`ndc` and that gave an error and didn't see any other options that looked
>close in the man page, is there a "hidden" way to pass these though or do I
>have to re-compile?

You can specify it in the "controls" section of the named.conf.  See
<http://www.isc.org/products/BIND/docs/config/controls.html>

-- 
Barry Margolin, barmar at genuity.net
Genuity, Burlington, MA
*** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups.
Please DON'T copy followups to me -- I'll assume it wasn't posted to the group.



More information about the bind-users mailing list