Help.. Name server and bind errors

c2man2000

Registered
Apr 3, 2005
2
0
151
Hi,
Running cpanel on FreeBSD 5.3
I can't get Name Server to start
Bind status is failed

Below is the outpout when trying to start Name Server:

named has failed, please contact the sysadmin (result was "named is not running").
Apr 6 05:49:16 615281 named[15753]: starting BIND 9.3.1 -u bind -c /etc/namedb/named.conf -t /var/named
Apr 6 05:49:16 615281 named[15753]: could not configure root hints from '/var/named/named.root': file not found
Apr 6 05:49:16 615281 named[15753]: loading configuration: file not found
Apr 6 05:49:16 615281 named[15753]: exiting (due to fatal error)
Apr 6 05:49:16 615281 named[15779]: starting BIND 9.3.1 -u bind -c /etc/namedb/named.conf -t /var/named
Apr 6 05:49:16 615281 named[15779]: could not configure root hints from '/var/named/named.root': file not found
Apr 6 05:49:16 615281 named[15779]: loading configuration: file not found
Apr 6 05:49:16 615281 named[15779]: exiting (due to fatal error)

Newbie here to freeBSD;
How can I resolve this issue?
 

AndyReed

Well-Known Member
PartnerNOC
May 29, 2004
2,221
4
193
Minneapolis, MN
Searching this forum is the best way to find an answer. I've seen several posts addressing this problem.
 

c2man2000

Registered
Apr 3, 2005
2
0
151
Issue was resolved, thanks to techsupport at 15minutes servers

Just in case anyone encounter same issue, below are the symptoms, the solution, and the "after resolution"

615281# tail -f /var/log/messages
Apr 6 14:31:42 615281 named[4855]: loading configuration: file not found
Apr 6 14:31:42 615281 named[4855]: exiting (due to fatal error)
Apr 6 14:40:18 615281 named[4934]: starting BIND 9.3.1 -u bind -c /etc/namedb/named.conf
Apr 6 14:40:18 615281 named[4934]: could not configure root hints from `/var/named/named.root`: file not found
Apr 6 14:40:18 615281 named[4934]: loading configuration: file not found
Apr 6 14:40:18 615281 named[4934]: exiting (due to fatal error)
Apr 6 14:41:50 615281 named[4961]: starting BIND 9.3.1
Apr 6 14:41:50 615281 named[4961]: could not configure root hints from `/var/named/named.root`: file not found

Copied /var/named/named.ca to /var/named/named.root.

Apr 6 14:42:12 615281 named[4969]: starting BIND 9.3.1
Apr 6 14:42:12 615281 named[4969]: command channel listening on 127.0.0.1#953
Apr 6 14:42:12 615281 named[4969]: zone 0.0.127.IN-ADDR.ARPA/IN: loading master file /var/named/localhost.rev: file not found
Apr 6 14:42:12 615281 named[4969]: zone 1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.IP6.ARPA/IN: loading master file /var/named/localhost-v6.rev: file not found
Apr 6 14:42:12 615281 named[4969]: zone 1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.IP6.INT/IN: loading master file /var/named/localhost-v6.rev: file not found
Apr 6 14:42:12 615281 named[4969]: running