I can't start ndc HELP!!!

Yanek Korff yanek at cigital.com
Tue Oct 30 20:30:04 UTC 2001


Unless, of course you're chrooting named with the -t flag, in which case
you'll want to check var/named under that -t specified directory.

-Yanek.

> -----Original Message-----
> From: Joe Kattner [mailto:joe.kattner at adelphia.com]
> Sent: Tuesday, October 30, 2001 2:09 PM
> To: 'brent.vincent at icon-inc.net';
> comp-protocols-dns-bind at moderators.isc.org
> Subject: RE: I can't start ndc HELP!!!
> 
> 
> 
> named is not running. Start named, and check that it started 
> 'ps -ef | grep
> named' If not, there should be something logged to indicate 
> what the problem
> is. Default system logs on Linux are in /var/log/messages. 
> /var/adm/messages
> for Solaris.
> 
> /var/run/ndc is the command channel that exists when it is running. If
> resolution still works without named running, look at you're
> /etc/resolv.conf file, and see where it is sending those queries.
> 
> --Joe
> 
> 
> 
> -----Original Message-----
> From: brent.vincent at icon-inc.net [mailto:brent.vincent at icon-inc.net]
> Sent: Tuesday, October 30, 2001 10:26 AM
> To: comp-protocols-dns-bind at moderators.isc.org
> Subject: I can't start ndc HELP!!!
> 
> 
> 
> Here is all the info I can give.
> ndc status
> ndc: error: ctl_client: evConnect(fd 3): Connection refused
> ndc: error: cannot connect to command channel (/var/run/ndc)
> 
> There is no dir (/var/run/ndc) I checked
> 
> named.conf
> 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
> // 
> 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; };
> };
> 
> zone "icon-inc.net" {
>          notify no;
>          type master;
>          file "icon-inc.net";
> };
> 
> zone "13.79.66.in-addr.arpa" {
>          notify no;
>          type master;
>          file 13.79.66";
> };
> 
> also I have named running in levels 2,3,4,5.
> Is this a good idea.
> 
> The funny thing is that name resolution is working just fine atleast
> for my
> zone icon-inc.net and I get info from root servers for this is the
> only DNS I have set on my machine and I can surf OK.
> I read some other post and it talked about checking the log file where
> are they ( I AM A NEWBIE )
> I'm am so close I can taste it. PLEASE HELP ME!!!
> Do you need anymore info?
> 


More information about the bind-users mailing list