Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Page 1 of 2 1 2 LastLast
Results 1 to 15 of 17
  1. #1
    Member
    Join Date
    Apr 2003
    Posts
    112

    Default rndc: connect failed: connection refused

    Why is this happening, please:

    Zone slstream.com does not exist, a new zone for alpha.slstream.com will be created.
    Bind reloading on alpha using rndc Error reloading bind on alpha: rndc: connect failed: connection refused
    Created DNS entry for alpha.slstream.com
    Add Complete
    ???

  2. #2
    Member
    Join Date
    Jan 2005
    Posts
    28
    cPanel/Enkompass Access Level

    DataCenter Provider

    Default

    Try running the following:

    /scripts/fixnamed
    /scripts/fixndc
    /scripts/fixndc


    If that doesnt work try doing this to your named.conf

    Make a backup
    cp /etc/named.conf /etc/named.conf-old

    Open it up and take this out

    controls {
    inet 127.0.0.1 allow { localhost; } keys { rndckey; };
    };

    Save it then type:

    service named restart

    Then run /scripts/fixndc

    Also make sure named.conf has the correct permissions
    [FONT=Verdana][SIZE=2][B] UK Dedicated Servers
    Dedicated Servers in the UK since 2003
    [COLOR="#008000"]ukservers.com

  3. #3
    Member
    Join Date
    Apr 2003
    Posts
    112

    Default

    I tried your suggestions and I still get the same error:

    rndc: connect failed: connection refused
    Whenever trying to add DNS entries, and also when creating new accounts:

    Bind reloading on d2295 using rndc
    Error reloading bind on d2295: rndc: connect failed: connection refused

  4. #4
    Registered User
    Join Date
    Jul 2004
    Posts
    2

    Default

    has this problem solved ? if not I have same experience and I can solve it manually. If you want I can post it with my way, but I must make sure if this solve or not.

  5. #5
    Member
    Join Date
    Jun 2003
    Posts
    75

    Default

    Quote Originally Posted by kalpin
    has this problem solved ? if not I have same experience and I can solve it manually. If you want I can post it with my way, but I must make sure if this solve or not.
    I would like to see it the other way since this fix didn't work for me....

  6. #6
    Registered User
    Join Date
    Feb 2005
    Posts
    1

    Default Might Help

    I recieved same error

    Error reloading bind on print: rndc: connect failed: connection refused

    i was trying to add an spf record -
    but it was actually adding the text to the record but not recognizing

    My solution: I just clicked - restart DNS/Name Server (BIND)
    under restart services

    then when i checked to see if it registered changes it did....

  7. #7
    Member
    Join Date
    Aug 2003
    Posts
    142

    Default

    Try this mate:

    /scripts/updatenow
    /scripts/upcp --force
    mv /etc/named.conf /etc/named.old
    /scripts/rebuildnamedconf > /etc/named.conf
    service named stop
    killall -9 named
    /scripts/fixndc
    /scripts/fixndc

    Should fix it.
    Mike

  8. #8
    Member
    Join Date
    Apr 2005
    Posts
    7

    Default

    why does not an answer given for cpanel problems as stated in other post
    Last edited by Apocalyptic; 04-18-2005 at 07:21 PM.

  9. #9
    Member
    Join Date
    Apr 2004
    Location
    Fort Walton Beach, FL
    Posts
    29

    Default

    Quote Originally Posted by mydomain
    Try this mate:

    /scripts/updatenow
    /scripts/upcp --force
    mv /etc/named.conf /etc/named.old
    /scripts/rebuildnamedconf > /etc/named.conf
    service named stop
    killall -9 named
    /scripts/fixndc
    /scripts/fixndc

    Should fix it.
    That method works great!

    BOOKMARKED
    David Guerra of,
    http://VerticalHost.com/

  10. #10
    Member
    Join Date
    Jan 2004
    Posts
    107

    Question Bad Post!

    Sorry, this is bad post, please delete!
    Last edited by x-man; 06-22-2005 at 05:24 AM. Reason: BAD POST!

  11. #11
    Member
    Join Date
    Sep 2004
    Posts
    8

    Default Thanks!

    Quote Originally Posted by mydomain
    Try this mate:

    /scripts/updatenow
    /scripts/upcp --force
    mv /etc/named.conf /etc/named.old
    /scripts/rebuildnamedconf > /etc/named.conf
    service named stop
    killall -9 named
    /scripts/fixndc
    /scripts/fixndc

    Should fix it.

    It worked!

  12. #12
    Member
    Join Date
    Jun 2005
    Posts
    13

    Default

    This worked great !!!
    However, the 'bind' is not listed in the Service Manager anymore.
    Any ideas how to 'force' list it ?
    Thank you.

  13. #13
    Member bijo's Avatar
    Join Date
    Aug 2004
    Location
    India
    Posts
    475

    Default

    Hello,

    Check the 2 files
    /var/run/chkservd/bind and /etc/chkserv.d/bind. It will help you to solve this issue.

    Let me know the status
    Bijo
    Yahoo: "bijo505"
    Msn: "bijo_baby@hotmail.com"
    AIM: "bijobaby"

    http://slashome.com

  14. #14
    Member
    Join Date
    Jun 2005
    Posts
    13

    Smile

    Bijo !!!! THANX !!!!!

    Those two files did not existed. Two because I requested a memory check for the server,
    and when it was done, the server was rebooted and again the same problem with the DNSes appeared. This time the named was gone like the bind from the service list.
    However, now they are both there, and I'm waiting to see if the DNSes will start to work properly.
    Thank you!

  15. #15
    Member
    Join Date
    Jun 2005
    Posts
    13

    Thumbs up

    ...... I've fixed the problem. Here's a 'short' summary:

    1) Problems with the BIND - I've fixed them using the info in this thread. Thank you!

    2)No BIND in the service list. Bijo helped - thank you Bijo

    3)Memory test, server restart , again problems with the BIND

    4)Tried to fix with the info in this thread - didn't work

    5)No named no bind in the service list. Bijo's advise helped again

    6)Tried several times to fix the problem by changing IP addresses, updating DNSes & etc, but nothing helped. Whenever I edit a DNS zone (even if I don't make any changes)
    the bind fails to reload. I tried both ways - editing the named.conf , running again all scripts & Cpanel update - no help at all. The IP addresses for both DNSes were correct,
    and had the correct entries in /etc/nameserverips file.

    7) Feeling helpless and hungry (no time 4 food), I did this (after checking again if everything is as it should be):

    mv /etc/named.conf /etc/named.old
    /scripts/rebuildnamedconf > /etc/named.conf
    service named stop
    killall -9 named
    /scripts/fixndc
    /scripts/fixndc

    This (and I don't know why and how) fixed the problem.

    The thing that is killing me is why it did not work the previous 4-5 times since my last post...
    Being stubborn finally pays-off.....

    Thank you for the help!!!!

    I believe that the problem is in the fact that the server shared IP is xxx.yyy.zzz.254
    and I could not use 255 for obvious reason Therefor the 2nd ip address (the IP for the 2nd DNS) is .253...
    Last edited by Runtime; 08-05-2005 at 06:43 AM.

Similar Threads & Tags
Similar threads

  1. Replies: 27
    Last Post: 04-01-2009, 05:13 AM
  2. rndc: connect failed: connection refused
    By Cheburashka in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 08-18-2005, 01:54 PM
  3. Replies: 10
    Last Post: 04-18-2005, 07:33 PM
  4. Replies: 10
    Last Post: 12-07-2004, 11:00 AM
  5. rndc: connect failed: connection refused
    By promak in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 01-09-2004, 03:22 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube