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 has failed, please contact the sysadmin

Discussion in 'General Discussion' started by vlee, Sep 3, 2006.

  1. vlee

    vlee Well-Known Member

    Joined:
    Oct 13, 2005
    Messages:
    272
    Likes Received:
    6
    Trophy Points:
    18
    Location:
    Las Vegas, Nevada, United Stat
    cPanel Access Level:
    Root Administrator
    I have a major problem know with my VPS account.

    Every thing was working fine for many days without me doing any thing to the
    account.

    This coming up now

    Attempting to restart named
    Waiting for named to restart.... . . . . . . . . . . finished.

    named status

    named has failed, please contact the sysadmin (result was "named is not
    running"). Sep 2 10:02:21 vps named[15177]: starting BIND 9.3.2 -u named
    Sep 2 10:02:21 vps named[15177]: found 1 CPU, using 1 worker thread Sep 2
    10:02:21 vps named[15177]: loading configuration from '/etc/named.conf' Sep 2
    10:02:21 vps named[15177]: /etc/named.conf:1: open: /etc/rndc.key: permission
    denied Sep 2 10:02:21 vps named[15177]: loading configuration: permission
    denied Sep 2 10:02:21 vps named[15177]: exiting (due to fatal error)

    Every thing elese seems fine but bind.

    I found the fix for the problem

    http://forums.cpanel.net/showthread.php?t=55403&highlight=bind

    I had to do:

    Nameserver Setup <==== I ran this again and it started working!!!

    Very wierd.

    When the cPanel updates went agian and I had to the following above agian.

    Plus on top of that this another strange thing that happen.

    It was this 2 days ago
    WHM 10.8.0 cPanel 10.8.2-C467
    Fedora i686 - WHM X v3.1.0

    Now it is this
    WHM 10.8.0 cPanel 10.9.0-C4
    Fedora i686 - WHM X v3.1.0

    Is there a bug going around to cause named to fail?

    How do I fix this?
     
  2. rachweb

    rachweb Well-Known Member

    Joined:
    Jun 26, 2004
    Messages:
    268
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    amsterdam
    It looks like that named not can open rndc.key (permission denied).

    Do ls -l /etc/rndc.key and let here now what the output is.
     
  3. darkkouta

    darkkouta Well-Known Member

    Joined:
    May 12, 2006
    Messages:
    55
    Likes Received:
    0
    Trophy Points:
    6
    /scripts/fixndc
    /scripts/fixrndc
    /scripts/fixnamed
    /scripts/rebuildnamedconf.
     
    #3 darkkouta, Sep 3, 2006
    Last edited: Sep 4, 2006
  4. vlee

    vlee Well-Known Member

    Joined:
    Oct 13, 2005
    Messages:
    272
    Likes Received:
    6
    Trophy Points:
    18
    Location:
    Las Vegas, Nevada, United Stat
    cPanel Access Level:
    Root Administrator
    Here is what you all wanted

    Using username "root".
    Last login: Sat Sep 2 22:49:02 2006 from nv-65-40-157-42.sta.embarqhsd.net
    root@vps [~]# ls -l /etc/rndc.key
    -rw------- 1 named named 132 Apr 20 14:58 /etc/rndc.key
    root@vps [~]#
     
  5. vlee

    vlee Well-Known Member

    Joined:
    Oct 13, 2005
    Messages:
    272
    Likes Received:
    6
    Trophy Points:
    18
    Location:
    Las Vegas, Nevada, United Stat
    cPanel Access Level:
    Root Administrator
    I saw his post after I posted and I did it and that worked. I hope it stays fixed.
     
  6. rachweb

    rachweb Well-Known Member

    Joined:
    Jun 26, 2004
    Messages:
    268
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    amsterdam
    It looks right. Can you try the scripts that darkkouta has posted
     
Loading...

Share This Page