Issue Details (XML | Word | Printable)

Key: ABICLOUD-74
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Marc Morata
Reporter: Andrea Rivetti
Votes: 0
Watchers: 0
Operations

Email this issue
Send issue summary in email
If you were logged in you would be able to see more operations.
Abiquo

Installation issue: no startup script for libvirtd

Created: 06/Jul/09 07:33 PM   Updated: 03/Sep/09 01:19 PM   Resolved: 15/Jul/09 03:27 PM
Component/s: Installer
Affects Version/s: abiCloud-0.7.0
Fix Version/s: abiCloud-0.7.1

Time Tracking:
Not Specified


 Description  « Hide
After compiling, installing and configuring libvirt according to the instructions in

http://community.abiquo.com/display/AbiCloud/Libvirt

I cannot find the startup script in /etc/init.d/

The "template" of the script can be found in the build directory
libvirt-0.6.3/qemud/libvirtd.init.in
but this version is not usable since all the macros in the script need to be replaced with the correct values.

Starting libvirt by hand with the followin command as root throws the following errors

# libvirtd -l
libvir: error : internal error 'brctl setfd virbr0 0' exited with non-zero status 1 and signal 0: libvir: error : cannot execute binary brctl: No such file or directory
Failed to autostart network 'default': internal error 'brctl setfd virbr0 0' exited with non-zero status 1 and signal 0: libvir: error : cannot execute binary brctl: No such file or directory

libvir: error : could not connect to qemu:///system




Marc Morata added a comment - 06/Jul/09 08:19 PM
You need install bridge-utils, or the package that provides brctl binary in your distribution.

I hope this helps you

Andrea Rivetti added a comment - 08/Jul/09 07:20 PM
Thank you for your feedback, problem not solved yet.
I installed bridge-utils and dnsmasq and now I get a different error message when I start libvirtd by hand

# libvirtd -l
libvir: error : internal error 'dnsmasq --strict-order --bind-interfaces --pid-file=/usr/local/var/run/libvirt/network/default.pid --conf-file= --listen-address 192.168.122.1 --except-interface lo --dhcp-range 192.168.122.2,192.168.122.254' exited with non-zero status 2 and signal 0:
dnsmasq: failed to bind listening socket for 192.168.122.1: Address already in use
Failed to autostart network 'default': internal error 'dnsmasq --strict-order --bind-interfaces --pid-file=/usr/local/var/run/libvirt/network/default.pid --conf-file= --listen-address 192.168.122.1 --except-interface lo --dhcp-range 192.168.122.2,192.168.122.254' exited with non-zero status 2 and signal 0:
dnsmasq: failed to bind listening socket for 192.168.122.1: Address already in use

libvir: error : could not connect to qemu:///system




Marc Morata added a comment - 15/Jul/09 03:27 PM
I've added a template file for libvirt daemon in wiki.