Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

statistics-channels

468 views
Skip to first unread message

Sten Carlsen

unread,
Jul 26, 2008, 9:23:16 AM7/26/08
to
Hi

I have very recently switched to 9.50-P1 on FC9.

I tried to use the option "statistics-channels", this is not accepted:
/etc/named.conf:24: unknown option 'statistics-channels'

I have this in named.conf:
acl internalhosts { 192.168.14.0/24; 127.0.0.1; ::1; };

options {
listen-on port 53 { 127.0.0.1; internalhosts; };
listen-on-v6 port 53 { ::1; };
directory "/var/named";
dump-file "/var/named/data/cache_dump.db";
statistics-file "/var/named/data/named_stats.txt";
memstatistics-file "/var/named/data/named_mem_stats.txt";
statistics-channels { inet * port 81 allow internalhosts; };
allow-query { any; };
};

This is not urgent, more like "nice to have"; but before I waste more
time I would like to ask if this has been taken out to make the -P1
happen in time?

Or is there some other (non)obvious reason this fails?

I could be worried that this might indicate a wrong version of the
running bind? It does load with this in the log:

Jul 25 21:16:10 sorte named[4799]: starting BIND 9.5.0-P1 -u named -t
/var/named/chroot
Jul 25 21:16:10 sorte named[4799]: found 1 CPU, using 1 worker thread
Jul 25 21:16:10 sorte named[4799]: loading configuration from
'/etc/named.conf'

--
Best regards

Sten Carlsen

No improvements come from shouting:

"MALE BOVINE MANURE!!!"


Andy Shellam

unread,
Jul 26, 2008, 10:44:24 AM7/26/08
to
Hi,

I don't believe this should be in the options { } directive, it should
be alongside it.
e.g.:

statistics-channels {
...
};

options {
...
}

Regards,

Andy

Sten Carlsen

unread,
Jul 26, 2008, 11:33:33 AM7/26/08
to
Hi

Thanks, I see now that I was fooled by the word "option" mentioned in
the ARM. My mistake.

This works. Now I need to do more reading as the only message I get is:
No such URL.

I guess I will be reading the ARM mostly from one end now.

Thanks again.

JINMEI Tatuya / 神明達哉

unread,
Jul 26, 2008, 2:43:43 PM7/26/08
to
At Sat, 26 Jul 2008 17:33:33 +0200,
Sten Carlsen <ccc...@vip.cybercity.dk> wrote:

> Thanks, I see now that I was fooled by the word "option" mentioned in
> the ARM. My mistake.

Which part of the ARM are you referring to? If it calls
'statistics-channels' an 'option', it should be updated, but I could
not find such an occurrence from a quick search.

---
JINMEI, Tatuya
Internet Systems Consortium, Inc.

Sten Carlsen

unread,
Jul 26, 2008, 9:56:25 PM7/26/08
to
I have been rereading the ARM. I seem to be the sole source of my
confusion; the ARM is NOT misleading.

I have to assume that I was in such a hurry that I did not read what was
actually written. Again my fault.

When I ask my self would there be anything that could have made me catch
this on my own?

I would consider if I would have found the list that is now at the
beginning of 6.2 if it had been in the beginning of 3, outlining the
structure of named.conf maybe formatted as the example configurations.

This is not urgent and please let us get the real trouble in control first.

D. Stussy

unread,
Jul 27, 2008, 12:08:30 AM7/27/08
to
"Sten Carlsen" <ccc...@vip.cybercity.dk> wrote in message
news:g6fj9g$1ba4$1...@sf1.isc.org...

> Thanks, I see now that I was fooled by the word "option" mentioned in
> the ARM. My mistake.

Actually, in the beta test of the function, it was in the options section.
It got moved in the final release version.

0 new messages