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.

rndc: connect failed: connection refused

Discussion in 'General Discussion' started by Cheburashka, Aug 18, 2005.

  1. Cheburashka

    Cheburashka Registered

    Joined:
    May 24, 2005
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    rndc status
    rndc: connect failed: connection refused
    what this fix?

    restart bind

    named started ok
    Aug 18 18:44:10 ad named[2317]: starting (/etc/namedb/named.conf). named 8.3.7-REL
    Tue May 25 21:15:41 GMT 2004
    root@perseus.cse.buffalo.edu:/usr/obj/usr/src/usr.sbin/named Aug 18 18:44:10 ad named[2317]: limit files set to fdlimit (1024)
    Aug 18 18:44:10 ad named[2317]: /etc/namedb/named.conf:2: unknown key 'rndc-key'
    Aug 18 18:44:10 ad named[2317]: /etc/namedb/named.conf:2: Ignoring BIND 9 inet control clause

    Aug 18 18:44:10 ad named[2318]: Ready to answer queries.
    Aug 18 18:44:10 ad named[2323]: starting (/etc/namedb/named.conf). named 8.3.7-REL
    Tue May 25 21:15:41 GMT 2004 root@perseus.cse.buffalo.edu:/usr/obj/usr/src/usr.sbin/named
    Aug 18 18:44:10 ad named[2323]: limit files set to fdlimit (1024)
    Aug 18 18:44:10 ad named[2323]: /etc/namedb/named.conf:2: unknown key 'rndc-key'
    Aug 18 18:44:10 ad named[2323]: /etc/namedb/named.conf:2: Ignoring BIND 9 inet control clause
    Aug 18 18:44:10 ad named[2324]: Ready to answer queries.
     
    #1 Cheburashka, Aug 18, 2005
    Last edited: Aug 18, 2005
  2. Aric1

    Aric1 Well-Known Member

    Joined:
    Oct 15, 2003
    Messages:
    324
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    DataCenter Provider
    Run this:

    /scripts/fixndc

    two times. That should fix it.
     
  3. Cheburashka

    Cheburashka Registered

    Joined:
    May 24, 2005
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1

    not work :(

    trabl in key :eek:
     
  4. bidouilleur

    bidouilleur Well-Known Member

    Joined:
    Apr 27, 2003
    Messages:
    46
    Likes Received:
    0
    Trophy Points:
    6
    open /etc/rndc.key

    copy the key part with all quotes ec

    paste this in the beginning of /etc/ named.conf and additionally in /etc/rndc.key

    that what the other script should do.

    But if you ran the script, most probably the key part has been copied over

    don't forget to restart bind....
     
Loading...

Share This Page