Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Restarting DNS Server failed

Discussion in 'Bind/DNS/Nameserver' started by Lor, Oct 19, 2015.

  1. Lor

    Lor Well-Known Member

    Apr 29, 2005
    Likes Received:
    Trophy Points:
    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.
    root@server [/]# 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.
    #1 Lor, Oct 19, 2015
    Last edited by a moderator: Oct 21, 2015
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Apr 11, 2011
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    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.
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice