Restarting DNS Server failed


Well-Known Member
Apr 29, 2005
Error when restart DNS server using WHM:

Restarting DNS Server
Waiting for “named” to restart ………[2015-10-19 18:07:57 -0600] warn [restartsrv_base] The 'named' service's PID file '/var/run/named/' did not appear after 10 seconds. at /usr/local/cpanel/Cpanel/ServiceManager/ line 1094. Cpanel::ServiceManager::Base::is_up_via_pidfile(Cpanel::ServiceManager::Services::Named=HASH(0x6d80f8)) called at /usr/local/cpanel/Cpanel/ServiceManager/ line 760 Cpanel::ServiceManager::Base::start(Cpanel::ServiceManager::Services::Named=HASH(0x6d80f8)) called at /usr/local/cpanel/Cpanel/ServiceManager/Services/ line 95 Cpanel::ServiceManager::Services::Named::start(Cpanel::ServiceManager::Services::Named=HASH(0x6d80f8)) called at /usr/local/cpanel/Cpanel/ServiceManager/ line 688 Cpanel::ServiceManager::Base::restart(Cpanel::ServiceManager::Services::Named=HASH(0x6d80f8), "graceful", undef) called at /usr/local/cpanel/Cpanel/ServiceManager/ line 528 Cpanel::ServiceManager::Base::run_from_argv(Cpanel::ServiceManager::Services::Named=HASH(0x6d80f8), "--verbose", "named", "--html", "--wait", "--verbose") called at /usr/local/cpanel/scripts/restartsrv_base line 48 main::__ANON__() called at /usr/local/cpanel/3rdparty/perl/514/lib64/perl5/cpanel_lib/Try/ line 80 eval {...} called at /usr/local/cpanel/3rdparty/perl/514/lib64/perl5/cpanel_lib/Try/ line 71 Try::Tiny::try(CODE(0x6bdde8), Try::Tiny::Catch=REF(0x737df8)) called at /usr/local/cpanel/scripts/restartsrv_base line 67

Service Error
The “named” service failed to start.

Startup Log
Starting named: [ OK ]

named has failed. Contact your system administrator if the service does not automagically recover.

[email protected] [/]# service named status
WARNING: key file (/etc/rndc.key) exists, but using default configuration file (/etc/rndc.conf)
version: 9.8.2rc1-RedHat-9.8.2-0.37.rc1.el6_7.4
CPUs found: 8
worker threads: 8
number of zones: 40
debug level: 0
xfers running: 0
xfers deferred: 0
soa queries in progress: 0
query logging is OFF
recursive clients: 0/0/1000
tcp clients: 0/100
server is up and running
named (pid  12503) is running...

Using SSH I can restart name

/var/run/named/ - doesn't exists

/var/named/chroot/var/run/named/ - exists

What I have to do?

Thank you.
Last edited by a moderator:


Staff member
Apr 11, 2011
Hello :)

You should disable Bind in the chroot environment, as it's not supported. The following thread explains how to do this:

BIND issue on a fresh server

Ensure that ROOTDIR=/var/named/chroot is removed from /etc/sysconfig/named after this process, and then run:

Thank you.