couldn't add command channel 127.0.0.1#54 error

Norman Fournier norman at normanfournier.com
Wed Sep 7 16:39:30 UTC 2011


Hello,

I was running BIND successfully on OS X 10.4 Tiger. That webserver crashed and I replaced it with a new cpu and installed OS X 10.5 Leopard and have encountered a number of errors in my configuration. This is the latest error from the old config files. Any suggestions or pointers as to what might be using this address or how I could find out would be appreciated.

Thank you!

Norman

From Terminal:

Sep  7 09:27:55 norman-fourniers-mac-mini named[3500]: could not listen on UDP socket: address in use
Sep  7 09:27:55 norman-fourniers-mac-mini named[3500]: creating IPv4 interface lo0 failed; interface ignored
Sep  7 09:27:55 norman-fourniers-mac-mini named[3500]: could not listen on UDP socket: address in use
Sep  7 09:27:55 norman-fourniers-mac-mini named[3500]: creating IPv4 interface en0 failed; interface ignored
Sep  7 09:27:55 norman-fourniers-mac-mini named[3500]: not listening on any interfaces
Sep  7 09:27:55 norman-fourniers-mac-mini named[3500]: /etc/named.conf:18: couldn't add command channel 127.0.0.1#54: address in use

From named.conf:

//
// Include keys file
//
include "/etc/rndc.key";

// Declares control channels to be used by the rndc utility.
//
// It is recommended that 127.0.0.1 be the only address used.
// This also allows non-privileged users on the local host to manage
// your name server.

//
// Default controls
//
acl "internal-net" { 192.168.0.0/24; };

controls {
    inet 127.0.0.1 port 54 allow {any;}
    keys { "rndc-key"; };
};

options {
    directory "/var/named";
    /*
     * If there is a firewall between you and nameservers you want
     * to talk to, you might need to uncomment the query-source
     * directive below.  Previous versions of BIND always asked
     * questions using port 53, but BIND 8.1 uses an unprivileged
     * port by default.
     */
    // query-source address * port 53;
};
// 
// a caching only nameserver config
// 
view "internal" {

        match-clients { internal-net; 127.0.0.1/8; };
        recursion yes;

zone "." IN {
    type hint;
    file "named.ca";
};

zone "localhost" IN {
    type master;
    file "localhost.zone";
    allow-update { none; };
};

zone "0.0.127.in-addr.arpa" IN {
    type master;
    file "named.local";
    allow-update { none; };
};

----snip-----


- - - http://www.normanfournier.com
---
www: http://www.normanfournier.com
facebook: http://www.facebook.com/normanfournierdotcom
linkedin: http://www.linkedin.com/profile/view?id=18127460
youtube: http://www.youtube.com/user/normanfournier





More information about the bind-users mailing list