我已按照以下说明进行操作https://juju.ubuntu.com/CharmSchool并重启了5次......
我似乎无法做juju-bootstrap
(本地)这是输出:
amith@amith-desktop:~$ juju bootstrap
2011-11-24 17:08:05,708 INFO Bootstrapping environment 'local' (type: local)...
2011-11-24 17:08:05,710 INFO Checking for required packages...
2011-11-24 17:08:06,593 INFO Starting networking...
error: Failed to start network default
error: internal error Child process (dnsmasq --strict-order --bind-interfaces --pid-file=/var/run/libvirt/network/default.pid --conf-file= --except-interface lo --listen-address 192.168.122.1 --dhcp-range 192.168.122.2,192.168.122.254 --dhcp-leasefile=/var/lib/libvirt/dnsmasq/default.leases --dhcp-lease-max=253 --dhcp-no-override) status unexpected: exit status 2
Command '['virsh', 'net-start', 'default']' returned non-zero exit status 1
2011-11-24 17:08:07,217 ERROR Command '['virsh', 'net-start', 'default']' returned non-zero exit status 1
有没有什么解决办法?
答案1
看起来您可能已经在该机器上安装了 DNS 服务器,这会阻止 dnsmasq 绑定到所需的端口/接口。Dnsmasq 为桥接网络上的容器提供 dhcp/dns。绑定到所有接口/端口的本地缓存代理可能会干扰它。