bind/named rndc: connect failed: 127.0.0.1#953: connection refused (solution) -

bind/named rndc: connect failed: 127.0.0.1#953: connection refused (solution)

service named status
rndc: connect failed: 127.0.0.1#953: connection refused
named (pid  10557) is running...


Check /var/log/messages:
Jan  4 17:06:22 storagebox named[10753]: none:0: open: /etc/rndc.key: permission denied
Jan  4 17:06:22 storagebox named[10753]: couldn't add command channel 127.0.0.1#953: permission denied
Jan  4 17:06:22 storagebox named[10753]: none:0: open: /etc/rndc.key: permission denied
Jan  4 17:06:22 storagebox named[10753]: couldn't add command channel ::1#953: permission denied


Solution:

chown named.named /etc/rndc.key
service named restart
service named status

It is all good now!

version: 9.8.2rc1-RedHat-9.8.2-0.47.rc1.el6_8.3
CPUs found: 8
worker threads: 8
number of zones: 20
debug level: 0
xfers running: 0
xfers deferred: 0
soa queries in progress: 0
query logging is OFF
recursive clients: 0/0/1000
tcp clients: 0/100
server is up and running
named (pid  11067) is running...


  • How Do you Open/Extract .WARC Internet Archive Files on Linux Ubuntu/Mint/Centos?
  • How To Disable htaccess inheritance or exclude a directory
  • root/home directory has ownership changed to the wrong user/owner mysteriously
  • mdadm and lvm how to completely disable and remove vg/pv/lv
  • sshd[10470]: Authentication refused: bad ownership or modes for directory /root
  • LG Phoenix 2 Escape Disable AT&T Phonebook/Contacts Error Message
  • mdadm frozen and doesn't realize array is dead/missing failed due to unplugged drives
  • Unable to mount location Failed to retrieve share list from server: No such file or directory solution
  • mdadm how to make inactive array active
  • ImageMagick how to trim white space automatically in Linux
  • curl: (1) Protocol "https not supported or disabled in libcurl"
  • Centos 5 OpenSSL does not support TLS 1.2 Apache Error
  • DRBD Split-brain solution
  • How to Properly Secure SSL/TLS Apache Settings against Heartbleed Poodle (TLS) Poodle (SSLv3) FREAK BEAST CRIME
  • K9 Mail Android Cannot See or View E-mails Disappear after reading - with Dovecot server. Solution
  • The folder contents could not be displayed connection refused - solution
  • Setting Up System for First Use... Please Wait... - WHMCS Installer
  • ERROR 2013 (HY000): Lost connection to MySQL server during query
  • if script bash check if socket file (mysql.sock) exists
  • ioncube loader install howto on PHP/Centos