The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

named failing and restarting every 15 mins ?

Discussion in 'General Discussion' started by fuzioneer, Jul 26, 2007.

  1. fuzioneer

    fuzioneer Well-Known Member

    Joined:
    Dec 12, 2003
    Messages:
    98
    Likes Received:
    0
    Trophy Points:
    6
    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. Bdzzld

    Bdzzld Well-Known Member

    Joined:
    Apr 3, 2004
    Messages:
    356
    Likes Received:
    1
    Trophy Points:
    18
    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. fuzioneer

    fuzioneer Well-Known Member

    Joined:
    Dec 12, 2003
    Messages:
    98
    Likes Received:
    0
    Trophy Points:
    6
    any ideas on fixing it ?
     
  4. Bdzzld

    Bdzzld Well-Known Member

    Joined:
    Apr 3, 2004
    Messages:
    356
    Likes Received:
    1
    Trophy Points:
    18
    Hi,

    Execute the following :

    Code:
    rpm -e bind-chroot
    
    and

    Code:
    /scripts/fixrndc
    
    Regards.
     
    #4 Bdzzld, Jul 26, 2007
    Last edited: Jul 26, 2007
  5. fuzioneer

    fuzioneer Well-Known Member

    Joined:
    Dec 12, 2003
    Messages:
    98
    Likes Received:
    0
    Trophy Points:
    6
    when i try to do the rpm -e bind-chroot command i get the error

    error: package bind-chroot is not installed

    ??
     
  6. Bdzzld

    Bdzzld Well-Known Member

    Joined:
    Apr 3, 2004
    Messages:
    356
    Likes Received:
    1
    Trophy Points:
    18
    Have you entered the second command afterwards?
     
  7. fuzioneer

    fuzioneer Well-Known Member

    Joined:
    Dec 12, 2003
    Messages:
    98
    Likes Received:
    0
    Trophy Points:
    6
    y hasnt made a difference at all :(
     
  8. Bdzzld

    Bdzzld Well-Known Member

    Joined:
    Apr 3, 2004
    Messages:
    356
    Likes Received:
    1
    Trophy Points:
    18
    Have you tried to restart named/bind from WHM?
    This usually responds with a complete error... Can you paste that error here?
     
  9. fuzioneer

    fuzioneer Well-Known Member

    Joined:
    Dec 12, 2003
    Messages:
    98
    Likes Received:
    0
    Trophy Points:
    6
    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. mtindor

    mtindor Well-Known Member

    Joined:
    Sep 14, 2004
    Messages:
    1,281
    Likes Received:
    37
    Trophy Points:
    48
    Location:
    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
     
  11. utropic

    utropic Well-Known Member

    Joined:
    Aug 6, 2005
    Messages:
    60
    Likes Received:
    0
    Trophy Points:
    6
    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. fuzioneer

    fuzioneer Well-Known Member

    Joined:
    Dec 12, 2003
    Messages:
    98
    Likes Received:
    0
    Trophy Points:
    6
    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. WebHostDog

    WebHostDog Well-Known Member

    Joined:
    Sep 3, 2006
    Messages:
    144
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Website Owner
    Hello,
    Just:

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

    and:

    service named restart
     
  14. foxpiles

    foxpiles Member

    Joined:
    Nov 23, 2005
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    1
    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?
     
Loading...

Share This Page