LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-21-2011, 01:48 AM   #1
davidlt
LQ Newbie
 
Registered: Feb 2011
Posts: 5

Rep: Reputation: 0
BIND9: couldn't add command channel 127.0.0.1#953: address in use


Hi, I am trying to setup rndc, but having some problems:
Code:
21-May-2011 09:26:58.085 starting BIND 9.3.6 -g
21-May-2011 09:26:58.085 using up to 1024 sockets
21-May-2011 09:26:58.112 loading configuration from '/etc/bind/named.conf'
21-May-2011 09:26:58.116 using default UDP/IPv4 port range: [1024, 65535]
21-May-2011 09:26:58.118 using default UDP/IPv6 port range: [1024, 65535]
21-May-2011 09:26:58.128 listening on IPv4 interface lo, 127.0.0.1#53
21-May-2011 09:26:58.130 could not listen on UDP socket: address in use
21-May-2011 09:26:58.130 creating IPv4 interface lo failed; interface ignored
21-May-2011 09:26:58.130 listening on IPv4 interface eth0, 169.254.139.44#53
21-May-2011 09:26:58.130 could not listen on UDP socket: address in use
21-May-2011 09:26:58.131 creating IPv4 interface eth0 failed; interface ignored
21-May-2011 09:26:58.131 not listening on any interfaces
21-May-2011 09:26:58.137 /etc/bind/named.conf:4: couldn't add command channel 127.0.0.1#953: address in use
21-May-2011 09:26:58.138 ignoring config file logging statement due to -g option
21-May-2011 09:26:58.142 zone 2.2.10.in-addr.arpa/IN: loaded serial 2010031500
21-May-2011 09:26:58.145 zone gumstix.local/IN: loaded serial 2010031500
21-May-2011 09:26:58.147 running
Tested /etc/bind with 755 and 777 permissions.

/etc/bind/rndc.key:
Code:
key "rndc-key" {
  algorithm hmac-md5;
  secret "aAXc24fe0cNhSy3Yjluf+uvOVzGL6q1fUd9eXdica5w=";
};
/etc/bind/rndc.conf:
Code:
include "/etc/bind/rndc.key";

options {
  default-server 127.0.0.1;
  default-key "rndc-key";
};

server 127.0.0.1 {
  key "rndc-key";
};
/etc/bind/named.conf contains:
Code:
include "/etc/bind/rndc.key";

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

options {
  directory           "/etc/bind";
  pid-file            "/etc/bind/named.pid";
  dump-file           "data/cache_dump.db";
  statistics-file     "data/named_stats.txt";
  memstatistics-file  "data/named_mem_stats.txt";
  version             "currently unavailable";
  forwarders { 208.67.222.222; 208.67.220.220; };
};

<..>
Thanks,
David

Last edited by davidlt; 05-21-2011 at 01:56 AM.
 
Old 05-21-2011, 03:49 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 11,602

Rep: Reputation: 1532Reputation: 1532Reputation: 1532Reputation: 1532Reputation: 1532Reputation: 1532Reputation: 1532Reputation: 1532Reputation: 1532Reputation: 1532Reputation: 1532
Quote:
21-May-2011 09:26:58.130 could not listen on UDP socket: address in use
21-May-2011 09:26:58.130 creating IPv4 interface lo failed; interface ignored
21-May-2011 09:26:58.130 listening on IPv4 interface eth0, 169.254.139.44#53
21-May-2011 09:26:58.130 could not listen on UDP socket: address in use
21-May-2011 09:26:58.131 creating IPv4 interface eth0 failed; interface ignored
You have some more errors before the one you outlined. What is t he output of:
Code:
netstat -tunapl|grep 53
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
rndc: connect failed: 127.0.0.1#953: connection refused milindras Linux - Server 41 08-20-2013 06:33 AM
ipv6 address which add by ifconfig command lost after eth down anqing Linux - Kernel 0 02-21-2011 08:53 AM
[SOLVED] DNS Problems and 127.0.0.2 Address jfmorales SUSE / openSUSE 3 04-22-2010 02:50 AM
couldn't add command channel 127.0.0.1#953 dalvis Linux - Newbie 4 10-03-2008 11:58 AM
127.0.01 is this an address cad Linux - Networking 1 01-02-2007 01:18 PM


All times are GMT -5. The time now is 09:29 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration