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

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...


Tags:

bind, rndc, pid, var, storagebox, etc, couldn, chown, restart, rc, redhat, _, cpus, threads, zones, debug, xfers, deferred, soa, queries, query, logging, recursive, tcp, server,

Latest Articles

  • syntax error, unexpected T_SL in PHP Solution
  • grep regular expression match number range between specific numbers
  • bash how to print out lines of text within a range from the first occurrence
  • bash script how to to check LAN computers for open ports
  • MySQL Using mytop Debug Source of High IO and Slow Performance
  • How To Mathematically Convert and Calculate Binary Value To Decimal Value
  • systemd management using systemctl and journalctl to check systemd logs
  • css how to format code in the code tag
  • css br with extra blank line
  • What is /dev/pts and why do we need it in Linux?
  • Linux What is umask (user mask) for file and directory creation permissions and how to calculate umask and change the defaults
  • Linux Permissions and Groups Real Usecase for Group Access
  • Centos 7 python34 how to install the gi library
  • Centos 7 - Convert Minimal to Graphical GUI GNOME or KDE Desktop
  • AMD Set Fan Speed and Other Powerplay Memory/CPU Timings with a Linux script
  • Ethereum Mining Claymore Nanopool Error
  • genisoimage errors with long filenames and deep directory structures
  • Linux Kernel USB Export Errors
  • How to download gajim 0.16.9 XMPP/Jabber client so you can use OMEMO encryption
  • HP DL385 G7 Linux BIOS Update Flash