Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've followed the instructions at and rebooted 5 times......

I cant seem to do a juju-bootstrap (local) This is the output:

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/ --conf-file= --except-interface lo --listen-address --dhcp-range, --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

Is there any fix at all?

share|improve this question
up vote 4 down vote accepted

It looks like you might already have a dns server installed on that machine which is preventing dnsmasq from binding to the needed port/interface. Dnsmasq provides dhcp/dns to the containers on the bridge network. A local caching proxy that binds to all interfaces/ports may interfere with it.

share|improve this answer
Yes, I had one! Thank you – Amith KK Nov 25 '11 at 16:30

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.