有谁知道如何解决这个问题?
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 个子网、一个网桥和一个本地网络,有 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
UI 中的 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