fxs

Active Member
Mar 5, 2014
41
0
6
cPanel Access Level
Root Administrator
Hi,
Got the following message for
  • CENTOS 6.7 x86_64 standard – ns3013333
  • WHM 11.50.0 (build 30)
  • thanks for your help
  • regards
  • François

Code:
/scripts/restartsrv_named
Waiting for “named” to restart ………warn [restartsrv_base] The 'named' service's P                                          ID file '/var/run/named/named.pid' did not appear after 10 seconds.


…failed.

Service Error
        The “named” service failed to start.

Startup Log
        Starting named: [  OK  ]

Log Messages
        Sep 15 23:00:10 ns3013333 named[17747]: running
        Sep 15 23:00:10 ns3013333 named[17747]: managed-keys-zone ./IN/external:                                           loaded serial 0
        Sep 15 23:00:10 ns3013333 named[17747]: managed-keys-zone ./IN/internal:                                           loaded serial 0
        Sep 15 23:00:10 ns3013333 named[17747]: managed-keys-zone ./IN/localhost                                          _resolver: loaded serial 0
        Sep 15 23:00:10 ns3013333 named[17747]: zone localhost/IN/localhost_reso                                          lver: loaded serial 42

named has failed. Contact your system administrator if the service does not auto                                          magically recover.
 
Last edited by a moderator:

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,884
2,245
463
Hello :)

You can try rebuilding your /etc/named.conf file via:

Code:
mv /etc/named.conf /etc/named.conf.backup1
/scripts/rebuilddnsconfig
Thank you.
 

fxs

Active Member
Mar 5, 2014
41
0
6
cPanel Access Level
Root Administrator
Hi,
It doesn't work:

/scripts/rebuilddnsconfig
Waiting for “named” to restart ………warn [restartsrv_base] The 'named' service's P ID file '/var/run/named/named.pid' did not appear after 10 seconds.


…failed.

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.
Copying /etc/rndc.key to /var/named/chroot/etc/rndc.key
/etc/rndc.key already exists in chroot environment.
Including rndc key file to named.conf
Adding controls clause
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,884
2,245
463
What's output to /var/log/messages when Named fails to start?

Thank you.