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.

BIND/NSD problem

Discussion in 'Bind / DNS / Nameserver Issues' started by sassou2009, Sep 4, 2010.

  1. sassou2009

    sassou2009 Active Member

    Joined:
    May 25, 2009
    Messages:
    28
    Likes Received:
    0
    Trophy Points:
    1
    hi,

    i recently found that some there is a 80% of packet loss when i try to ping using Watchmouse, so i tried to repair the NSD, i have switched to BIND but now i cant restart it or configure it,
    whe i restart it i have this message:
    Waiting for nsd to restart..............finished.


    nsd has failed, please contact the sysadmin (result was "nsd is not running").

    Or:
    Nameserver Selection
    Could not find nsd config dir. Is nsd installed?

    please help:confused:
     
  2. 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:
    What exact steps or corrective measures were performed in attempt to repair NSD?

    Are there any errors or other difficulties while attempting to use BIND?

    Please let us know the output from the following commands:
    Code:
    # grep -H '' /usr/local/cpanel/version /var/cpanel/envtype
    # stat /var/cpanel/usensd
    # /scripts/setupnameserver --current
    # /scripts/restartsrv_named --status
    # /scripts/restartsrv_named --check
    # /scripts/restartsrv named
    I would consider trying the following script to forcefully switch to the desired DNS/name server daemon:
    Code:
    # /scripts/setupnameserver --help   
    setupnameserver [options] [nameserver type]
    
        Options:
          --help       Brief help message
          --force      Rerun configuration routines even if the selected
                       nameserver type is already configured
          --current    Show the currently selected nameserver type
    
    
        Nameserver Types:
          bind         Suggested.  Functions as both authoritative 
                       and caching nameserver.
          nsd          Lower memory.  Functions only as authoritative
                       nameserver.
          disabled     Disable the local nameserver.
    Here are three examples, one for BIND, one for NSD, and one to disable the local name server daemon.
    Code:
    # /scripts/setupnameserver --force bind
    # /scripts/setupnameserver --force nsd
    # /scripts/setupnameserver --force disabled
     
  3. sassou2009

    sassou2009 Active Member

    Joined:
    May 25, 2009
    Messages:
    28
    Likes Received:
    0
    Trophy Points:
    1
    Hello;

    i have not attempted to repair NSD, i just switeched the nameserver Selection to BIND and then it stopped!

    here is the outpout of the commands:
    Code:
    root@server7 [~]# grep -H '' /usr/local/cpanel/version /var/cpanel/envtype
    /usr/local/cpanel/version:11.25.0-STABLE_46156
    /var/cpanel/envtype:standard
    
    root@server7 [~]# stat /var/cpanel/usensd
      File: `/var/cpanel/usensd'
      Size: 0               Blocks: 0          IO Block: 4096   regular empty file
    Device: 801h/2049d      Inode: 149111145   Links: 1
    Access: (0644/-rw-r--r--)  Uid: (    0/    root)   Gid: (    0/    root)
    Access: 2010-09-04 22:20:25.000000000 +0200
    Modify: 2010-09-04 22:20:25.000000000 +0200
    Change: 2010-09-05 00:45:01.000000000 +0200
    
    root@server7 [~]# /scripts/restartsrv_named --status
    
    root@server7 [~]# /scripts/restartsrv_named --check
    nsd is not running
    
    root@server7 [~]# /scripts/restartsrv named
    Waiting for nsd to restart...........................finished.
    
    nsd has failed, please contact the sysadmin (result was "nsd is not running").
    root@server7 [~]#
     
    #3 sassou2009, Sep 5, 2010
    Last edited: Sep 5, 2010
  4. 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:
    The issue may require an in-depth investigation to determine what is causing the difficulty. Please consider submitting a ticket so that we may assist with inspecting the circumstances involved. When available, please let me know your ticket ID number so that we may follow-up internally.
     
Loading...

Share This Page