Fedora 2 "couldn't add command channel 127.0.0.1#953: not found" [solution]

ToolmakerSteve ToolmakerSteve at shawstudio.com
Thu Nov 4 22:43:29 UTC 2004


On a laptop, not connected to any network, nor to Internet.
Installed Fedora Core 2 from CD's with book "Red Hat Fedora Linux 2
Bible".
Selected various web services and Gnome stuff.
Booted.

As root, started service "named".

Result was a "chrooted" ("jailed") service, in "/var/named/chroot".

- - - - -
What works:
1. Created a file "/var/www/html/index.html",
asked browser to show "http://localhost":
that page displays.

What doesn't work:
1. "host localhost" - times out, can't find any server.

Other symptoms:
1. service named status says "rndc: connect failed: connection
refused"
  NOTE: "named" IS running -- it did not exit -- named & rndc simply
can't communicate.
2. System log says "couldn't add command channel 127.0.0.1#953: not
found"
(a bit after the "named -u named -t /var/named/chroot" log message).

- - - - -
DISCOVERED:
1. "/var/named/chroot/etc/" contained empty files for "named.conf" and
"rndc.key".

- - - - -
SOLUTION:
Copied the desired "named.conf" & "rndc.key" from "/etc/" to
"/var/named/chroot/etc/".

VERIFICATION:
1. "host localhost" now says "localhost has address 127.0.0.1".
2. "service named status" now gives various reasonable statements,
ending with "server is up and running".

EXPLANATION: The original BIND setup was designed for running as root;
somewhere between what Fedora setup did and what I did, we failed to
get those files to where they were needed for a "jailed" (chrooted)
BIND.



More information about the bind-users mailing list