Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 6 of 6
  1. #1
    Member
    Join Date
    Nov 2003
    Posts
    26

    Default Fatal, neither ndc or rndc was found on this server (host.domain.com).

    What does this mean and how can I get ndc or rndc? I'm running freebsd 5.1

  2. #2
    Member
    Join Date
    Sep 2003
    Posts
    658

    Default

    You will need to upgrade to bind 9 from ports. Make sure that you have libcrypto.so.3 located at /usr/local/lib/libcrypto.so.3 before you upgrade.

    Once bind is done, read this post;

    http://forums.cpanel.net/showthread....=Bind+Problems

  3. #3
    Member
    Join Date
    Nov 2003
    Posts
    26

    Default

    I read hrough the whole thread. I can't find what I do after i make deinstall/install bind9. I have freebsd 5.x so i shouldn't have to make a /dev/random because 5.1 doesn't use that anymore. And I can't find any port called rndc-confgen either. Now I'm getting this error

    Error reloading bind on cp1: rndc: neither /etc/namedb/rndc.conf nor /etc/namedb/rndc.key was found Add Complete

  4. #4
    Member
    Join Date
    Nov 2003
    Posts
    26

    Default

    Ok I've been messing around with it and I finally got it to stop saying "neither /etc/namedb/rndc.conf nor /etc/namedb/rndc.key was found" But after restarting named I get these errors.


    named started ok
    Oct 21 23:29:49 cp1 named[74885]: transfer of 'domain.com/IN' from 192.168.1.1#53: shut down: operation canceled
    Oct 21 23:29:49 cp1 named[74885]: transfer of '0.168.192.in-addr.arpa/IN' from 192.168.1.1#53: shut down: operation canceled
    Oct 21 23:29:49 cp1 named[74885]: exiting
    Oct 21 23:29:49 cp1 named[75008]: starting BIND 9.3.0 -u bind -c /etc/namedb/named.conf
    Oct 21 23:29:49 cp1 named[75008]: couldn't add command channel 127.0.0.1#953: not found
    Oct 21 23:29:49 cp1 named[75008]: couldn't add command channel ::1#953: not found
    Oct 21 23:29:50 cp1 named[75008]: dns_rdata_fromtext: /etc/namedb/gillilandgroup.com.db:15: near eol: unexpected end of input
    Oct 21 23:29:50 cp1 named[75014]: starting BIND 9.3.0 -u bind -c /etc/namedb/named.conf
    Oct 21 23:29:50 cp1 named[75014]: couldn't add command channel 127.0.0.1#953: not found
    Oct 21 23:29:50 cp1 named[75014]: couldn't add command channel ::1#953: not found
    Oct 21 23:29:50 cp1 named[75014]: dns_rdata_fromtext: /etc/namedb/gillilandgroup.com.db:15: near eol: unexpected end of input
    Oct 21 23:29:50 cp1 named[75014]: zone gillilandgroup.com/IN: loading master file /etc/namedb/gillilandgroup.com.db: unexpected end of input

  5. #5
    Member
    Join Date
    Sep 2003
    Posts
    658

    Default

    Looks like your getting there.

    You need to run,

    rndc-confgen -u /dev/urandom

    Then paste the result in the top of your named.conf file.
    If you get a not found error when running rndc-confgen -u /dev/urandom
    you need to reboot and run again.

    Oct 21 23:29:50 cp1 named[75014]: dns_rdata_fromtext: /etc/namedb/gillilandgroup.com.db:15: near eol: unexpected end of input
    Is this the last entry in named.conf ? Make sure to hit enter after };

    should look like;

    zone "domain.com" {
    type master;
    file "/etc/namedb/domain.com.db";
    };

  6. #6
    Registered User
    Join Date
    Sep 2004
    Posts
    2

    Default

    I found this to work:

    # rndc-confgen -r /dev/urandom > /etc/namedb/rndc.conf

    This will create a new rndc key (Actually the whole configuration file hence the pipe to a file.

    # rm -f /etc/rndc.conf;ln -s /etc/namedb/rndc.conf /etc/rndc.conf

    Next, remove /etc/rndc.conf if it is there. Then create a symbolic link from /etc/namedb/rndc.conf

    Edit /etc/rndc.conf and /etc/named.conf to both either have rndckey or rndc-key.

    # /scripts/fixndc;/scripts/restartsrv named

    If named restarts with no errors run

    # /scripts/rebuildnamedconf;/scripts/upcp --force;/scripts/restartsrv named

    Hopefully this will help you out.

Similar Threads & Tags
Similar threads

  1. Fix for ndc and rndc get key definition: not found errors
    By jumpdomain in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 02-08-2007, 04:54 AM
  2. Illegal host/domain name found
    By Secret Agent in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 09-06-2005, 07:26 PM
  3. Fatal, neither ndc or rndc was found
    By jcase in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 10-27-2004, 10:17 AM
  4. rndc Error reloading bind - rndc: get key: not found
    By rodstewart in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 05-05-2004, 04:35 PM
  5. ndc & rndc errors
    By wwwhosts in forum cPanel and WHM Discussions
    Replies: 10
    Last Post: 10-03-2003, 11:34 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube