Webhosting Blog

rndc: connect failed: 127.0.0.1#953: connection refused


Your servers named service may start to go unresponsive with the following error logs:

===========

[root@server ~]# service named restart
Stopping named: …………………………………….[FAILED]
Starting named: named: already running                     [FAILED]

rndc: connect failed: 127.0.0.1#953: connection refused

===========

This problem arises due the the servers configuration accepting the DNS as chrooted instead of plain DNS.

For correcting check the file /etc/sysconfig/named. You can locate the following line:

ROOTDIR=”/var/named/chroot/”

Comment the above statement

#ROOTDIR=”/var/named/chroot/”

Now restart the named service on the server.

Advertisements

4 responses

  1. Nidheesh.G

    Thank You
    Solved

    March 3, 2012 at 5:06 am

  2. Linker3000

    Wish I’d found this page several hours ago!

    Solved my problem trying to get a caching nameserver working on CentOS 6 – no doubt relevant for other versions of Linux too.

    March 6, 2012 at 1:01 pm

  3. service named status
    rndc: connect failed: 127.0.0.1:#953: connection refused
    named is stopped

    when i did all configuration after going to start named service then this error occured
    sir pleas help me

    March 27, 2012 at 2:02 pm

    • Hi ,

      Try restarting the network service.
      $ service network restart
      OR
      $ /etc/init.d/network restart

      March 28, 2012 at 3:56 am

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s