Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Page 1 of 2 1 2 LastLast
Results 1 to 15 of 21
  1. #1
    Member
    Join Date
    Aug 2001
    Location
    Fremont CA
    Posts
    537

    Default ndc still not fixed

    i am still getting this error with ndc, if its not this error, its the &connection refused&

    I sent a email to nick on this but he never responded, anyone know of a fix for this? i have tired pretty much all the scripts in /scripts area

    ndc reload
    ndc: decode base64 secret: bad base64 encoding

  2. #2
    Member
    Join Date
    Jan 2002
    Posts
    11

    Default

    Hello,
    Try to run /scripts/fixndc if that doesn't work run /scripts/updatenow then run /scripts/fixndc that should fix it.

  3. #3
    Member
    Join Date
    Aug 2001
    Location
    Fremont CA
    Posts
    537

    Default

    that did not work

  4. #4
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Aug 2001
    Posts
    445

    Default

    It almost seems like MIME::Base64 might have some issues. Have you tried reinstalling that perl mod? Just a wild tangent.
    Annette
    Hosting Matters, Inc.
    http://www.hostmatters.com

  5. #5
    Member
    Join Date
    Aug 2001
    Location
    Fremont CA
    Posts
    537

    Default

    doing that i just got all boat load of errors

  6. #6
    Member
    Join Date
    Aug 2001
    Posts
    839

    Default

    /scripts/fixheaders


    than install that module by hand
    (via cpan is probably quickest)
    ..............................


    http://www.fastservers.net/

    travis@fastservers.net
    ..............................

  7. #7
    Member
    Join Date
    Aug 2001
    Location
    Fremont CA
    Posts
    537

    Default

    /scripts/fixheaders just returns back to prompt and doesnt do anything

    nor can i install mime by hand (same errors)

  8. #8
    Member
    Join Date
    Aug 2001
    Location
    Fremont CA
    Posts
    537

    Default

    manually installed http://updates.cpanel.net/pub/rpmup/redhat/7.1/x86/updates/glibc-devel-2.2.4-24.i386.rpm and that fixed the errors i was getting, now to see if that fixed the ndc reload problem (just installed that perl module)


    Update; Nope, that didnt fix it

    root@greyfox [/]# ndc reload
    ndc: connect failed: connection refused

  9. #9
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Aug 2001
    Posts
    445

    Default

    Is this a machine slaved to a master nameserver box? If so, are you having trouble loading any sites on the slave (i.e., does their name resolution fail)? If so, I wouldn't worry about it. We get the connection refused messages quite a bit on the slaved machines, but it doesn't stop anything from working. The zones are still added to the master server, and everything works fine.

    If this is a master server, is bind continually running through updates of existing zones? Are there any errors related to bind stopping/starting on the box?
    Annette
    Hosting Matters, Inc.
    http://www.hostmatters.com

  10. #10
    Member
    Join Date
    Aug 2001
    Location
    Fremont CA
    Posts
    537

    Default

    this is a sole machine and the problem is bind is not updating zones, therefore alot of customers complaining of new accts not working, subdomains not working etc.

    Nicks been unresponsive since i asked him a few weeks ago about the problem, i fixed 3 other servers with fixndc but this machine is the only one left

  11. #11
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Aug 2001
    Posts
    445

    Default

    Ah, that stinks (the nonupdating). Any errors in /var/log/messages when you try to restart bind? Syntax errors, etc., in the named.conf perhaps? Anything?
    Annette
    Hosting Matters, Inc.
    http://www.hostmatters.com

  12. #12
    Member
    Join Date
    Aug 2001
    Location
    Fremont CA
    Posts
    537

    Default

    nothing, everythings clean in the error logs and messages, nadda out of the ordinary

  13. #13
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Aug 2001
    Posts
    445

    Default

    More obvious stuff (sorry).

    Perms on /var/named are at least 755 and user/group is named?
    Perms on /etc/named.conf are at least 644 and user/group is root?
    Are zones entries actually being added to /etc/named.conf or /var/named at all? Are they in the right format?
    Both nameservers IPs for the server are listed in the show IP listing and both nameservers have valid zone files?
    Run the named cleanup from WHM?
    Is there an ndc in /var/run? Did you zap that and restart bind again (for & 9.x)?

    More info-type stuff:
    Server os? Bind version? WHM version?
    Annette
    Hosting Matters, Inc.
    http://www.hostmatters.com

  14. #14
    Member
    Join Date
    Aug 2001
    Location
    Fremont CA
    Posts
    537

    Default

    to answer your questions

    i went in and rechown'd and chmoded the files you stated, no change

    yes, zones are added OK and in correct format

    Both IPs are listed in show IP listing and have vaild zones

    ran the cleanup Cleaned up 170 zone(s) - no change

    there is no ndc in /var/run

    Server os: Linux 7.2
    Bind: 9.2.0
    WHM: 4.8.0
    Cpanel 4.8.0-42

  15. #15
    Member
    Join Date
    Aug 2001
    Location
    Fremont CA
    Posts
    537

    Default

    FINALLY!

    Thank you nick for your help today via email, he pointed out that the /etc/hosts file was not pointing to 127.0.0.1 rather the real ip of the server

    For anyone that ever has such a problem in the future and are head banged, now you know what to look for!

    and thanks Annette for the help

Similar Threads & Tags
Similar threads

  1. Replies: 1
    Last Post: 03-29-2007, 07:27 AM
  2. ndc on FreeBSD
    By sparek-3 in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 11-10-2004, 08:50 AM
  3. ndc problems
    By cyo in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 01-15-2004, 07:46 AM
  4. What is NDC?
    By acer2k in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 02-24-2003, 01:36 AM
  5. ndc trouble
    By claudius in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 06-30-2002, 07:28 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube