RE: restarting named - rndc: connect failed: operation canceled

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> 1) Are you getting any named config errors when named starts. Check
> /var/log/messages. I know in the past, I've seen the named init 
> script report [OK} on restart, when named actually had errors 
> preventing it from starting.
> 
> 2) Are you sure named is actually listening on port 953? i.e.
> 
> [root@excelsior etc]# netstat -nap | grep 953
> tcp   0   0 127.0.0.1:953    0.0.0.0:*    LISTEN      1044/named


Hi,

well #2 appears to be a problem - named is not listeningon port 953

# netstat -nap | grep 953
#

do I need something else in my configuration.  here are the relevant
/etc/named.conf  lines

--- snip ---

options {
        directory "/var/named";
        listen-on { 192.168.1.1; 127.0.0.1; };

...


--- snip ---

Cheers,

Noah



> 
> 3) Are you sure named is not running in a chroot'd environment?
> 
> [root@excelsior etc]# ps auwx | grep named
> 
> named     1046  0.0  2.1 14088 4204 ?        S    Jun15   4:14
> /usr/sbin/named -u named -t /var/named/chroot
> [...snip...]
> 
> Note the -u and -t command line arguments.
> 
> BTW: You can always test your rndc implementation without restarting 
> named by simply issuing an rndc status. Once the status argument is 
> working, the stop argument that the named init script issues should 
> work. i.e.
> 
> [root@excelsior etc]# rndc status
> number of zones: 25
> debug level: 0
> xfers running: 0
> xfers deferred: 0
> soa queries in progress: 0
> query logging is ON
> server is up and running
> 
> Good Luck
> Steve Cowles
> 
> -- 
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux