rndc stats - permission denied

Jeff Lightner jlightner at water.com
Thu Jul 10 16:12:32 UTC 2008


All other rndc commands I run work fine but I keep getting permission
denied when attempting rndc stats.
There was no statistics file define in named.conf so after doing some
reading and Googling I added a line to have a named.stats in /var/run.

This is a chrooted environment so I figured the file would be in
<chrootdir>/var/run but it wasn't.   

I attempted to create a file there and make the user that runs named the
owner and insure it was readable/writable.

On restarting named I have no errors but I still get the error on rndc
stats.

Can someone offer some advice.  Most of my Google searches basically
result in "add the entry to named.conf, make sure permissions are same
as user that runs named" which isn't really helpful given that I've
already done that.   

Why would I get permission denied if the file doesn't exist as appeared
to be the case when I started?   It makes it seem the file exists and
has the wrong permissions but if so where would it be?
----------------------------------
CONFIDENTIALITY NOTICE: This e-mail may contain privileged or confidential information and is for the sole use of the intended recipient(s). If you are not the intended recipient, any disclosure, copying, distribution, or use of the contents of this information is prohibited and may be unlawful. If you have received this electronic transmission in error, please reply immediately to the sender that you have received the message in error, and delete it. Thank you.
----------------------------------



More information about the bind-users mailing list