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.

DNS Server Does Not Restart on Reboot

Discussion in 'Bind / DNS / Nameserver Issues' started by adam5532, Feb 18, 2010.

  1. adam5532

    adam5532 Member

    Joined:
    Feb 14, 2009
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    Hi,

    Whenever I do a server reboot, the DNS Server does not seem to restart automatically. I need to go into WHM and go to Restart Services: DNS Server to restart it. Then it works fine. Any ideas why?

    Thanks,
    Adam
     
  2. furquan

    furquan Well-Known Member

    Joined:
    Jul 27, 2002
    Messages:
    425
    Likes Received:
    0
    Trophy Points:
    16
    Adam :

    What does this command at the shell return :-

     
  3. adam5532

    adam5532 Member

    Joined:
    Feb 14, 2009
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    Code:
    0:off  1:off  2:off  3:off  4:off  5:off  6:off
    Thanks,
    Adam
     
    #3 adam5532, Feb 18, 2010
    Last edited: Feb 18, 2010
  4. ChrisRHS

    ChrisRHS Well-Known Member

    Joined:
    Jul 12, 2006
    Messages:
    292
    Likes Received:
    5
    Trophy Points:
    18
    Run this as root:

    chkconfig named on

    This will turn named on for all boot levels.
     
  5. adam5532

    adam5532 Member

    Joined:
    Feb 14, 2009
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    After executing:
    chkconfig named on

    Now chkconfig --list named reads the following:
    Code:
    0:off 1:off 2:on 3:on 4:on 5:on 6:off
    Is this correct now?

    Thanks,
    Adam
     
  6. adam5532

    adam5532 Member

    Joined:
    Feb 14, 2009
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    OK, I looked up chkconfig and runlevel and it looks like this is correct, 2-5 ON.

    Thanks a lot for your help.
    - Adam
     
  7. cPanelDon

    cPanelDon cPanel Quality Assurance Analyst
    Staff Member

    Joined:
    Nov 5, 2008
    Messages:
    2,557
    Likes Received:
    7
    Trophy Points:
    38
    Location:
    Houston, Texas, U.S.A.
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    #7 cPanelDon, Feb 20, 2010
    Last edited: Feb 20, 2010
Loading...

Share This Page