dns stats (fwd)
Joaquin J. Domens
jdomens at corp.terra.es
Tue Apr 9 16:01:25 UTC 2002
Hi all,
I'm having same problem on this new Solaris boxes, running 8.3.1
But I can't seem to find the channel for ndc, and in named.conf there's no
control entry about that.
One difference I've seen between this new box, and other one already running ndc
(both with 8.3.1) it's:
ndc ok:
srw------- 1 root root 0 Jan 30 2001 ndc
drwx------ 2 root root 512 Apr 3 14:18 ndc.d
-rw-r--r-- 1 root other 51924 Apr 8 17:58 named.conf
-rw-r--r-- 1 root other 6 Apr 9 11:57 named.pid
ndc not running:
drwx------ 2 root root 512 Apr 4 17:02 ndc.d
-rw-r--r-- 1 root other 16861 Apr 9 13:06 named.conf
-rw-r--r-- 1 root other 5 Apr 9 15:30 named.pid
And the error I got it's the same ......
ndc: error: ctl_client: evConnect(fd 3): No such file or directory
ndc: error: cannot connect to command channel (/var/run/ndc)
Hope it helps
Cheers
Nate Campi wrote:
> On Thu, Apr 04, 2002 at 04:42:12PM -0500, Art Houle wrote:
> >
> > We are running "named 8.2.3-REL" and I am trying to get stats so that I
> > can put them into mrtg for graphing. However I am having a problem with
> > the command to get stats and would like input is anybody can interpret the
> > error message I get back:
> >
> > dns1# /usr/sbin/ndc stats
> > ndc: error: ctl_client: evConnect(fd 3): No such file or directory
> > ndc: error: cannot connect to command channel (/var/run/ndc)
>
> I'll assume that BIND is actually running. You need to give the path to
> your ndc channel with the "-c" option to ndc. Here how I dump stats on
> my nameservers:
>
> /usr/local/sbin/ndc -c /var/bind.root/r/ndc/ndc stats
>
> If you don't know where your ndc channel is, look in you conf file for
> something like:
>
> controls {
> unix "/ndc/ndc"
> perm 600
> owner 0
> group 0;
> };
>
> ...and use the path in double quotes after "unix".
> --
> Nate
>
> The doctrine of human equality reposes on this: that there is no man
> really clever who has not found that he is stupid.
--
--------------------------------------------------
Joaquin J. Domens
Área de Tecnología
Departamento de Producción / Aplicaciones
--------------------------------------------------
Terra Networks España S.A.
Julián Camarillo, 6
28037 Madrid, España
Tel. (34) 91-375 2384 Fax (34) 91-375 2320
joaquin.domens at corp.terra.es
--------------------------------------------------
Mercado Continuo: TRR | Nasdaq: TRLY
--------------------------------------------------
http://www.terra.es
--------------------------------------------------
More information about the bind-users
mailing list