Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

rndc: connect failed: 127.0.0.1#953: connection refused

Tags:

bind

centos

named

This is a very annoying problem that i am having with the rndc reload

I am getting the following error:

rndc: connect failed: 127.0.0.1#953: connection refused

However the following work fine,

[root@cbgfx ~]# service named restart
Stopping named: .                                          [  OK  ]
Starting named:                                            [  OK  ]

[root@cbgfx ~]# tail -f /var/log/messages
Aug  7 12:51:09 cbgfx named[31990]: zone 120.88.167.in-addr.arpa/IN: loaded serial 14
Aug  7 12:51:09 cbgfx named[31990]: zone 1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa/IN: loaded serial 0
Aug  7 12:51:09 cbgfx named[31990]: zone domain.com/IN: domain.com/MX 'mail.servergreek.com' has no address records (A or AAAA)
Aug  7 12:51:09 cbgfx named[31990]: zone domain.com/IN: loaded serial 14
Aug  7 12:51:09 cbgfx named[31990]: zone localhost.localdomain/IN: loaded serial 0
Aug  7 12:51:09 cbgfx named[31990]: zone localhost/IN: loaded serial 0
Aug  7 12:51:09 cbgfx named[31990]: managed-keys-zone ./IN: loaded serial 4
Aug  7 12:51:09 cbgfx named[31990]: zone domain.com/IN: sending notifies (serial 14)
Aug  7 12:51:09 cbgfx named[31990]: zone 120.88.167.in-addr.arpa/IN: sending notifies (serial 14)
Aug  7 12:51:09 cbgfx named[31990]: running

The vps has ipv6 ip address, is there anything i missed here?

Thanks in advance guys

like image 336
user2650277 Avatar asked Aug 07 '14 16:08

user2650277


1 Answers

The problem might not only be in rndc.key.

The easiest way to detect is running:

service named restart

Check if there is any error, if there is an error, run:

systemctl status named.service

Check any permission denied error. It could be in the log files as well.

like image 62
bsentosa Avatar answered Sep 29 '22 15:09

bsentosa