[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: rndc woes



On Sun, 2 Sep 2007, Chuck Payne wrote:

Hi Guys,

I am at lost, I been look on the net haven't found a clean answer (google is becoming more and more a pain)

About five days ago I got error where my rndc.key was not the correct key and could no longer xfer between my main dns server and bind9 wouldn't not come up any more.

I remove bind9 from my box and only got back installed after doing this...

apt-get -y --force -yes -f install bind9

But I am still having an issue with rndc.key. I have found two errors in my syslog...

Sep 2 23:40:23 inferno named[11996]: loading configuration from '/etc/bind/named.conf' Sep 2 23:40:23 inferno named[11996]: none:0: open: /etc/bind/rndc.key: permission denied Sep 2 23:40:23 inferno named[11996]: couldn't add command channel 127.0.0.1#953: permission denied Sep 2 23:40:23 inferno named[11996]: none:0: open: /etc/bind/rndc.key: permission denied Sep 2 23:40:23 inferno named[11996]: couldn't add command channel ::1#953: permission denied Sep 2 23:40:23 inferno named[11996]: zone gdicatv.com/IN: refresh: failure trying master 66.23.219.82#53 (source 0.0.0.0#0): operation canceled


ep  2 23:17:31 inferno lwresd[3333]: starting BIND 9.3.4
Sep  2 23:17:31 inferno lwresd[3333]: found 1 CPU, using 1 worker thread
Sep 2 23:17:31 inferno lwresd[3333]: loading configuration from '/etc/bind/lwresd.conf' Sep 2 23:17:31 inferno lwresd[3333]: none:0: open: /etc/bind/lwresd.conf: file not found Sep 2 23:17:31 inferno lwresd[3333]: loading configuration from '/etc/resolv.conf' Sep 2 23:17:31 inferno lwresd[3333]: command channel listening on 127.0.0.1#953
Sep  2 23:17:31 inferno lwresd[3333]: command channel listening on ::1#953
Sep  2 23:17:31 inferno lwresd[3333]: lwres listening on 127.0.0.1#921
Sep  2 23:17:31 inferno lwresd[3333]: running

I have looked thru the old mailing list, I am got most emails dating back seven month and was able to get the permission fix so that bind9 starts with out issue, but until I get these issue fix, I am at a lost.

Payne


what permissions does /etc/bind/rndc.key have? On my systems its owned by bind:bind with permissions 640. This should be the default permissions set by the bind9 package. Are you perhaps running bind as a different user?


-+-
8 out of 10 Owners who Expressed a Preference said Their Cats Preferred Techno.



Reply to: