named failing and restarting every 15 mins ?

fuzioneer

Well-Known Member
Dec 12, 2003
100
0
166
Everything all ok on this server running the following setup/config:

WHM 11.2.0 cPanel 11.8.0-C15601
CENTOS Enterprise 4.5 i686 - WHM X v3.1.0


then suddenly last night i started getting named failing every 15mins sending out the auto email such as:

named failed @ Thu Jul 26 09:30:58 2007. A restart was attempted automagicly.

nothing in messages for it

tried restarting named manually and no problems encountered

tried running the cpanel named fix scripts to no avail

Just can't see any issues, the server isnt being pushed at all, idling basically

any ideas ?
 

Bdzzld

Well-Known Member
Apr 3, 2004
412
5
168
We've received the same with one of our servers. It seems an upcp upgrade of bind (named) completely messed up the rndc.key file. Luckily the server is part of a cluster or else...
 

Bdzzld

Well-Known Member
Apr 3, 2004
412
5
168
Hi,

Execute the following :

Code:
rpm -e bind-chroot
and

Code:
/scripts/fixrndc
Regards.
 
Last edited:

fuzioneer

Well-Known Member
Dec 12, 2003
100
0
166
when i try to do the rpm -e bind-chroot command i get the error

error: package bind-chroot is not installed

??
 

Bdzzld

Well-Known Member
Apr 3, 2004
412
5
168
Have you tried to restart named/bind from WHM?
This usually responds with a complete error... Can you paste that error here?
 

fuzioneer

Well-Known Member
Dec 12, 2003
100
0
166
tried that and dont get any errors and starts succesfully

It just restarts for some reason every 15mins approx.

Are there any logs other than /var/log/messages or checksrvd etc that i can look at ?
 

mtindor

Well-Known Member
Sep 14, 2004
1,390
69
178
inside a catfish
cPanel Access Level
Root Administrator
You might want to restart chksrvd and then see if it continues to do that every 15 minutes. If named starts and generates no errors but restarts every 15 minutes, it'd probably because chkservd doesn't see it running.

service chkservd restart

Mike
 

utropic

Well-Known Member
Aug 6, 2005
60
0
156
We have this error too. It seems fixndc blew-away the named.conf file. Does anyone have a process for fixing the root-cause and then repopulating the info from the cluster?



Thanks.
 

fuzioneer

Well-Known Member
Dec 12, 2003
100
0
166
well restarting chkservd had no effect

my named.conf is present and seems ok, although strange entry as follows:

zone "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 {
type master;
file "/var/named/named.ip6.local";
allow-update { none; };
};


is that supposed to be there ?
 

WebHostDog

Well-Known Member
Sep 3, 2006
143
1
166
cPanel Access Level
Website Owner
Hello,
Just:

chown named:named /var/named/chroot/etc/rndc.key

and:

service named restart
 

foxpiles

Member
Nov 23, 2005
20
0
151
same problem here.

tried all of the above but whm still show named status as failed.

i've tried '/etc/init.d/named status' it said server is up and running. only thing in log message about named is that it restart itself every 15 minute or so.

please help, any solution?