Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 14 of 14
  1. #1
    Member
    Join Date
    Dec 2003
    Posts
    89

    Default named failing and restarting every 15 mins ?

    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 ?

  2. #2
    Member
    Join Date
    Apr 2004
    Posts
    320

    Default

    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...

  3. #3
    Member
    Join Date
    Dec 2003
    Posts
    89

    Default

    any ideas on fixing it ?

  4. #4
    Member
    Join Date
    Apr 2004
    Posts
    320

    Default

    Hi,

    Execute the following :

    Code:
    rpm -e bind-chroot
    and

    Code:
    /scripts/fixrndc
    Regards.
    Last edited by Bdzzld; 07-26-2007 at 06:54 AM.

  5. #5
    Member
    Join Date
    Dec 2003
    Posts
    89

    Default

    when i try to do the rpm -e bind-chroot command i get the error

    error: package bind-chroot is not installed

    ??

  6. #6
    Member
    Join Date
    Apr 2004
    Posts
    320

    Default

    Have you entered the second command afterwards?

  7. #7
    Member
    Join Date
    Dec 2003
    Posts
    89

    Default

    y hasnt made a difference at all

  8. #8
    Member
    Join Date
    Apr 2004
    Posts
    320

    Default

    Have you tried to restart named/bind from WHM?
    This usually responds with a complete error... Can you paste that error here?

  9. #9
    Member
    Join Date
    Dec 2003
    Posts
    89

    Default

    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 ?

  10. #10
    Member
    Join Date
    Sep 2004
    Location
    inside a catfish
    Posts
    963
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    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

  11. #11
    Member
    Join Date
    Aug 2005
    Posts
    61

    Default

    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.

  12. #12
    Member
    Join Date
    Dec 2003
    Posts
    89

    Default

    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 ?

  13. #13
    Member
    Join Date
    Sep 2006
    Posts
    144
    cPanel/Enkompass Access Level

    Website Owner

    Default

    Hello,
    Just:

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

    and:

    service named restart
    QHoster.com - Unlimited-Domain Web Hosting | Shared & Reseller with cPanel

  14. #14
    Member
    Join Date
    Nov 2005
    Posts
    20

    Default

    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?

Similar Threads & Tags
Similar threads

  1. Exim Failing And Restarting...
    By timvie in forum E-mail Discussions
    Replies: 5
    Last Post: 12-10-2010, 03:30 PM
  2. Apache Failing and not restarting - PLEASE HELP
    By Chriz1977 in forum cPanel and WHM Discussions
    Replies: 11
    Last Post: 10-19-2006, 04:02 PM
  3. spamd keeps failing and restarting
    By neilio in forum cPanel and WHM Discussions
    Replies: 6
    Last Post: 03-11-2006, 09:58 AM
  4. httpd keeps failing every couple mins....
    By bangsters in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 04-05-2005, 09:36 PM
  5. Help - 5 services restarting every 10 mins!
    By bjdea1 in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 03-28-2004, 07:21 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube