named has failed, please contact the sysadmin

vlee

Well-Known Member
Oct 13, 2005
368
25
178
Spokane, Washington
cPanel Access Level
Root Administrator
I have a major problem know with my VPS account.

Every thing was working fine for many days without me doing any thing to the
account.

This coming up now

Attempting to restart named
Waiting for named to restart.... . . . . . . . . . . finished.

named status

named has failed, please contact the sysadmin (result was "named is not
running"). Sep 2 10:02:21 vps named[15177]: starting BIND 9.3.2 -u named
Sep 2 10:02:21 vps named[15177]: found 1 CPU, using 1 worker thread Sep 2
10:02:21 vps named[15177]: loading configuration from '/etc/named.conf' Sep 2
10:02:21 vps named[15177]: /etc/named.conf:1: open: /etc/rndc.key: permission
denied Sep 2 10:02:21 vps named[15177]: loading configuration: permission
denied Sep 2 10:02:21 vps named[15177]: exiting (due to fatal error)

Every thing elese seems fine but bind.

I found the fix for the problem

http://forums.cpanel.net/showthread.php?t=55403&highlight=bind

I had to do:

Nameserver Setup <==== I ran this again and it started working!!!

Very wierd.

When the cPanel updates went agian and I had to the following above agian.

Plus on top of that this another strange thing that happen.

It was this 2 days ago
WHM 10.8.0 cPanel 10.8.2-C467
Fedora i686 - WHM X v3.1.0

Now it is this
WHM 10.8.0 cPanel 10.9.0-C4
Fedora i686 - WHM X v3.1.0

Is there a bug going around to cause named to fail?

How do I fix this?
 

rachweb

Well-Known Member
Jun 26, 2004
268
0
166
amsterdam
It looks like that named not can open rndc.key (permission denied).

Do ls -l /etc/rndc.key and let here now what the output is.
 

darkkouta

Well-Known Member
May 12, 2006
55
0
156
/scripts/fixndc
/scripts/fixrndc
/scripts/fixnamed
/scripts/rebuildnamedconf.
 
Last edited:

vlee

Well-Known Member
Oct 13, 2005
368
25
178
Spokane, Washington
cPanel Access Level
Root Administrator
rachweb said:
It looks like that named not can open rndc.key (permission denied).

Do ls -l /etc/rndc.key and let here now what the output is.
Here is what you all wanted

Using username "root".
Last login: Sat Sep 2 22:49:02 2006 from nv-65-40-157-42.sta.embarqhsd.net
[email protected] [~]# ls -l /etc/rndc.key
-rw------- 1 named named 132 Apr 20 14:58 /etc/rndc.key
[email protected] [~]#