HPUX 11 - Bind 8.2.3 ndc (possible timeout issue?) problem.
Jon Nistor
nistor at snickers.org
Wed Jan 31 22:32:50 UTC 2001
I've added:
controls {
unix "/var/run/ndc" perm 660 owner 0 group 53;
};
And the result:
[nistor at outpost2] /opt/bind/sbin: ./ndc
Type help -or- /h if you need help.
ndc> /t
tracing now on
ndc> /d
debugging now on
ndc> start
ndc: error: ctl_client: evConnect(fd 3): No such file or directory
ndc: error: cannot connect to command channel (/var/run/ndc)
ndc: error: pid not valid or server not running
<lag... lag ... lag :P>
ndc: [isc/ctl_clnt::new_state: initializing -> connecting]
ndc: [isc/ctl_clnt::new_state: connecting -> connected]
ndc: [isc/ctl_clnt::readable: read 13, used 13]
ndc: [220 Unknown]
ndc: [isc/ctl_clnt::readable: read 21, used 21]
ndc: [250 my pid is <912>]
ndc: [isc/ctl_clnt::new_state: connected -> destroyed]
pid 912 is running
new pid is 912
ndc>
[nistor at outpost2] /opt/bind/sbin: ls -l /var/run/ndc
s-w--w-r-T 1 root bind 0 Jan 31 17:30 ndc
[nistor at outpost2] /opt/bind/sbin:
and the final word:
[nistor at outpost2] /opt/bind/sbin: ./ndc reload
Reload initiated.
[nistor at outpost2] /opt/bind/sbin:
Thank you very much Jim :)
On Wed, 31 Jan 2001, Jim Reid wrote:
:::>>>>> "Jon" == Jon Nistor <nistor at snickers.org> writes:
:::
::: Jon> I have an HP UX 11 box, and got 8.2.3 compiled cleanly, the
::: Jon> only problem is, we have about ... just over 5000 zones, and
::: Jon> when I run lets say:
:::
::: Jon> /opt/bind/sbin/ndc start, it'll load named just fine, but it
::: Jon> wont make /var/run/ndc
:::
:::Of course it won't. It's the name server's job to create the control
:::socket/FIFO and listen for ndc sending it commands via that
:::socket. ndc assumes the socket was set up by the name server. Did you
:::put a controls{} statement in named.conf to get the server to create
:::that control socket? An "ndc start" is a special case because there's
:::no socket because there's no name server running. This just causes a
:::named process to be created.
:::
--
-- . -- . -- . -- . _ ... ,,..----.....- .. - . _ . . . _ --... . _ .- .-. ...
Jon Nistor (nistor at snickers.org) Sr. Unix Systems Administrator
web: http://www.snickers.org/ Spike Technologies.
N.I.S.T.O.R.: Networked Individual Skilled in Troubleshooting and Online Repair
More information about the bind-users
mailing list