On Thu, 07 Jul 2011 14:24:48 -0400 Albert Hopkins <mar...@letterboxes.org> wrote:
> > > On Thursday, July 7 at 19:15 (+0100), john said: > > > > > I am trying to start virt-manager but when I start the daemon > > > > /etc/init.d/libvirtd i get > > > > * Starting libvirtd ... > > /usr/sbin/libvirtd: error: Unable to initialize network sockets. > > Check /var/log/messages or run without --daemon for more info. > > * start-stop-daemon: failed to start > > `/usr/sbin/libvirtd' [ !! ] > > * ERROR: libvirtd failed to start > > > > Any suggestions??? > > Other than the obvious (which is to check /var/log/messages or run > without --daemon)... > > My guess is that you have enabled the virt-network USE flag but the > system is not configured as such that it could start the default > virtual network. Among other things you need: > > * iptables support in there kernel > * bridging support in the kernel > * tun/tap support in the kernel > * brctl (probably a dependency of the package itself) > * iproute2 (probably a dependency of the package itself) > > Did /var/log/messages tell you anything (did you bother to look)? > Also libvirt has a log level that can be set in the config, you could > increase that (and also check the logs). > > You should also check the logs. > > -a > > > iptables is running, bridging and tun have been loaded as modules iproute2 has now been installed but makes no odds. Not sure about brctl as I can't find this? Have started libvirtd and get the following when trying to start virt-manager 20:28:05.083: 5216: info : libvirt version: 0.9.1 20:28:05.083: 5216: error : virCommandWait:1281 : internal error Child process (/sbin/iptables --table mangle --insert POSTROUTING --out-interface virbr0 --protocol udp --destination-port 68 --jump CHECKSUM --checksum-fill) status unexpected: exit status 1 20:28:05.084: 5216: warning : networkAddGeneralIptablesRules:1199 : Could not add rule to fixup DHCP response checksums on network 'default'. 20:28:05.084: 5216: warning : networkAddGeneralIptablesRules:1200 : May need to update iptables package & kernel to support CHECKSUM rule. 20:28:05.256: 5216: error : virCommandWait:1281 : internal error Child process (/sbin/ip addr add 192.168.122.1/24 broadcast 192.168.122.255 dev virbr0) status unexpected: exit status 1 20:28:05.256: 5216: error : networkAddAddrToBridge:1625 : internal error cannot set IP address on bridge 'virbr0' 20:28:05.449: 5216: error : virCommandWait:1281 : internal error Child process (/sbin/iptables --table mangle --delete POSTROUTING --out-interface virbr0 --protocol udp --destination-port 68 --jump CHECKSUM --checksum-fill) status unexpected: exit status 1 20:28:05.481: 5216: warning : networkStartNetworkDaemon:1800 : Failed to delete dummy tap device '(null)' on bridge 'virbr0' : Invalid argument 20:28:05.526: 5216: error : udevGetDMIData:1493 : Failed to get udev device for syspath '/sys/devices/virtual/dmi/id' or '/sys/class/dmi/id' 20:28:51.078: 5219: error : remoteDispatchAuthPolkit:5139 : Policy kit denied action org.libvirt.unix.manage from pid 6810, uid 1000: exit status 1 20:31:26.177: 5218: error : do_open:1085 : no connection driver available for No connection for URI qemu:///system Does mean something++++++ no connection driver available for No connection for URI qemu:///system The only log entry is:- Jul 7 20:40:53 localhost /etc/init.d/libvirtd[8275]: start-stop-daemon: failed to start `/usr/sbin/libvirtd' Jul 7 20:40:53 localhost /etc/init.d/libvirtd[8264]: ERROR: libvirtd failed to star Cannot see option to make this more verbose. -------------- John D Maunder j...@jdm.myzen.co.uk