有人知道如何解决此问题吗?
Service 'maas-dhcpd' is not on, it will be started.
Service 'bind9' failed to start. Its current state is 'dead' and 'Result: exit-code'.
Reloading BIND failed (is it running?): Command `rndc -c /etc/bind/maas/rndc.conf.maas reload` returned non-zero exit status 1:#012rndc: connect failed: 127.0.0.1#954: connection refused
我有2个子网,1个网桥和1个具有3个接口的局域网 eth0,eth1,br1 我的网络接口:
source /etc/network/interfaces.d/*
# The loopback network interface
auto lo
iface lo inet loopback
dns-nameservers x.x.1.1
dns-search maas
# The primary network interface
auto eth0
iface eth0 inet static
address x.x.1.2
netmask 255.255.255.0
gateway x.x.1.1
dns-nameservers x.x.1.1 8.8.8.8 8.8.4.4
mtu 1500
auto eth1
iface eth1 inet manual
mtu 1500
auto br1
iface br1 inet static
address x.x.30.1
netmask 255.255.255.0
bridge_ports eth1
bridge_stp off
bridge_fd 0
bridge_maxwait 0
用户界面中的Maas子网配置: 以下情况禁用了托管分配:
Name x.x.1.0/24
CIDR x.x.1.0/24
Gateway IP x.x.1.2
DNS 172.16.1.1
为以下启用了托管分配:
Name x.x.30.0/24
CIDR x.x.30.0/24
Gateway IP x.x.30.1
DNS x.x.1.1
运行sudo rndc -c /etc/bind/maas/rndc.conf.maas reload
的结果是:
rndc: connect failed: 127.0.0.1#954: connection refused
我不确定我缺少什么,这个MaaS版本是2.5
补充说明:在进行调查时,我注意到named.conf.maas
中有重复的条目,如果我手动修复了重复的条目,它将再次自动生成并返回相同的问题。
/etc/bind/maas/named.conf.maas:92: zone 'x.y.z.in-addr.arpa': already exists previous definition: /etc/bind/maas/named.conf.maas:56
有关