BIND failing to start

bwochinski

New member
Joined
May 31, 2005
Messages
2
Hey, I'm just trying to transfer some sites over to a new dedicated server for a friend, and I must admit, DNS is my weak point. So anyways the service "Named" is not running and will not start.

In /var/log/messages I'm getting this:

named[27604]: starting BIND 9.2.4 -u named
named[27604]: using 2 CPUs
named[27604]: loading configuration from '/etc/named.conf'
named[27604]: listening on IPv4 interface lo, 127.0.0.1#53
named[27604]: listening on IPv4 interface eth0, 12.158.190.140#53
named[27604]: listening on IPv4 interface eth0:0, 12.47.45.64#53
named[27604]: zone version.bind/CH: has 0 SOA records
named[27604]: zone version.bind/CH: has no NS records
named[27604]: view.c:347: REQUIRE((&view->references)->refs > 0) failed
named[27604]: exiting (due to assertion failure)
named: named startup failed
I'm not sure what the error means where it says "failed" or what to do to fix it. Any help at all would be greatly appreciated.
 
Last edited:
ok, it kinda fixed itself...

I only did 2 things:

touch /var/run/named/named.pid
/etc/init.d/named -c /etc/named.conf -n 2 -u named

Watching the messages output I see that didn't actually fix it, as it exited with a "fatal error" after that, but it must have knocked something loose because it started up successfully on it's next try. Odd.
 
Seems like an invalid zone in your /etc/named.conf.

If no one helps earlier, could you perhaps post anything in your named.conf that has 'version.bind' in it ?
 
kinda same problem

I can't get named to start either. The error message is

named[26942]: /etc/named.conf:2: unknown option 'control'
named[26942]: loading configuration: failure
named[26942]: exiting (due to fatal error)
named: named startup failed
named: named shutdown failed
named[26964]: starting BIND 9.2.4rc6 -u named
named[26964]: using 2 CPUs
named[26964]: loading configuration from '/etc/named.conf'
named[26964]: /etc/named.conf:2: unknown option 'control'
named[26964]: loading configuration: failure
named[26964]: exiting (due to fatal error)
named: named startup failed

Any ideas?

*edit*

now I'm getting a different error

named[23123]: starting BIND 9.2.4rc6 -u named
named[23123]: using 2 CPUs
named[23123]: loading configuration from '/etc/named.conf'
named[23123]: no IPv6 interfaces found
named[23123]: listening on IPv4 interface lo, 127.0.0.1#53
named[23123]: listening on IPv4 interface eth0, 198.87.84.12#53
named[23123]: none:0: open: /etc/rndc.key: permission denied
named[23123]: couldn't add command channel 127.0.0.1#953: permission denied
named[23123]: couldn't open pid file '/var/run/named/named.pid': Permission denied
named[23123]: exiting (due to early fatal error)
named: named startup failed
 
Last edited:
What OS?

What user are you running bind as?

is there a file at:

/var/run/named/named.pid

Can you post the output of:

ls -al /var/run/named

Maybe that will help us figure it out.

Jeff
 
Back
Top