rndc stats on SLES 10 (BIND 9.3.2)

Ryan McCain Ryan.McCain at dss.state.la.us
Mon Sep 24 16:19:19 UTC 2007


Chris,

You're right.  I misread this in the O'Reilly BIND book.

Thanks AGAIN. :)


>>> On Mon, Sep 24, 2007 at 10:56 AM, in message
<E09B803C-C544-45E8-AC28-123CA9EEB56D at menandmice.com>, Chris Buxton
<cbuxton at menandmice.com> wrote: 
> 'rndc stats' should not display any output. The behavior you're  
> seeing is normal.
> 
> On the other hand, 'rndc status' (note the extra 'u') gives a short  
> status report to stdout (your screen or shell window), but does not  
> write anything to disk.
> 
> Chris Buxton
> Men & Mice
> 
> On Sep 24, 2007, at 8:45 AM, Ryan McCain wrote:
> 
>> When I ran "rndc stats I used to get an error, now after changing  
>> directory permissions around it just goes to a shell prompt.  See  
>> below:
>>
>> dss-dr93la05:/var/lib/named/slave # rndc stats
>> dss-dr93la05:/var/lib/named/slave #
>>
>> This is from named.conf:
>>
>> statistics-file "/var/log/named.stats";
>>         zone-statistics yes;
>>         notify no;
>> #      recursion no;
>>
>>
>> ...As you can see the permissions are set to give everyone 777 to  
>> named.stats
>>
>> dss-dr93la05:/var/log # ll named.stats
>> -rwxrwxrwx 1 root root 27020 2007-09-24 10:39 named.stats
>> dss-dr93la05:/var/log #
>>
>> ..There are stats in the the named.stats file, however for some  
>> reason running rndc stats doesn't display them.
>>
>> One thing Im thinking of that might be confusing BIND is that we  
>> initially installed it to run in a chroot jail.  After the fact we  
>> changed that in /etc/sysconfig/named to not run in a chroot jail.
>>
>> Any ideas?
>>
>> Thanks..
>>
>>




More information about the bind-users mailing list