1 |
On Thu, 07 Jul 2011 14:24:48 -0400 |
2 |
Albert Hopkins <marduk@×××××××××××.org> wrote: |
3 |
|
4 |
> |
5 |
> |
6 |
> On Thursday, July 7 at 19:15 (+0100), john said: |
7 |
> |
8 |
> > |
9 |
> > I am trying to start virt-manager but when I start the daemon |
10 |
> > |
11 |
> > /etc/init.d/libvirtd i get |
12 |
> > |
13 |
> > * Starting libvirtd ... |
14 |
> > /usr/sbin/libvirtd: error: Unable to initialize network sockets. |
15 |
> > Check /var/log/messages or run without --daemon for more info. |
16 |
> > * start-stop-daemon: failed to start |
17 |
> > `/usr/sbin/libvirtd' [ !! ] |
18 |
> > * ERROR: libvirtd failed to start |
19 |
> > |
20 |
> > Any suggestions??? |
21 |
> |
22 |
> Other than the obvious (which is to check /var/log/messages or run |
23 |
> without --daemon)... |
24 |
> |
25 |
> My guess is that you have enabled the virt-network USE flag but the |
26 |
> system is not configured as such that it could start the default |
27 |
> virtual network. Among other things you need: |
28 |
> |
29 |
> * iptables support in there kernel |
30 |
> * bridging support in the kernel |
31 |
> * tun/tap support in the kernel |
32 |
> * brctl (probably a dependency of the package itself) |
33 |
> * iproute2 (probably a dependency of the package itself) |
34 |
> |
35 |
> Did /var/log/messages tell you anything (did you bother to look)? |
36 |
> Also libvirt has a log level that can be set in the config, you could |
37 |
> increase that (and also check the logs). |
38 |
> |
39 |
> You should also check the logs. |
40 |
> |
41 |
> -a |
42 |
> |
43 |
> |
44 |
> |
45 |
|
46 |
iptables is running, bridging and tun have been loaded as modules |
47 |
iproute2 has now been installed but makes no odds. Not sure about brctl |
48 |
as I can't find this? |
49 |
|
50 |
Have started libvirtd and get the following |
51 |
when trying to start virt-manager |
52 |
|
53 |
20:28:05.083: 5216: info : |
54 |
libvirt version: 0.9.1 20:28:05.083: 5216: error : virCommandWait:1281 : |
55 |
internal error Child process (/sbin/iptables --table mangle --insert |
56 |
POSTROUTING --out-interface virbr0 --protocol udp --destination-port 68 |
57 |
--jump CHECKSUM --checksum-fill) status unexpected: exit status 1 |
58 |
20:28:05.084: 5216: warning : networkAddGeneralIptablesRules:1199 : |
59 |
Could not add rule to fixup DHCP response checksums on network |
60 |
'default'. 20:28:05.084: 5216: warning : |
61 |
networkAddGeneralIptablesRules:1200 : May need to update iptables |
62 |
package & kernel to support CHECKSUM rule. 20:28:05.256: 5216: error : |
63 |
virCommandWait:1281 : internal error Child process (/sbin/ip addr add |
64 |
192.168.122.1/24 broadcast 192.168.122.255 dev virbr0) status |
65 |
unexpected: exit status 1 20:28:05.256: 5216: error : |
66 |
networkAddAddrToBridge:1625 : internal error cannot set IP address on |
67 |
bridge 'virbr0' 20:28:05.449: 5216: error : virCommandWait:1281 : |
68 |
internal error Child process (/sbin/iptables --table mangle --delete |
69 |
POSTROUTING --out-interface virbr0 --protocol udp --destination-port 68 |
70 |
--jump CHECKSUM --checksum-fill) status unexpected: exit status 1 |
71 |
20:28:05.481: 5216: warning : networkStartNetworkDaemon:1800 : Failed |
72 |
to delete dummy tap device '(null)' on bridge 'virbr0' : Invalid |
73 |
argument 20:28:05.526: 5216: error : udevGetDMIData:1493 : Failed to |
74 |
get udev device for syspath '/sys/devices/virtual/dmi/id' or |
75 |
'/sys/class/dmi/id' 20:28:51.078: 5219: error : |
76 |
remoteDispatchAuthPolkit:5139 : Policy kit denied action |
77 |
org.libvirt.unix.manage from pid 6810, uid 1000: exit status 1 |
78 |
20:31:26.177: 5218: error : do_open:1085 : no connection driver |
79 |
available for No connection for URI qemu:///system |
80 |
|
81 |
Does mean something++++++ |
82 |
no connection driver |
83 |
available for No connection for URI qemu:///system |
84 |
|
85 |
|
86 |
The only log entry is:- |
87 |
Jul 7 20:40:53 localhost /etc/init.d/libvirtd[8275]: |
88 |
start-stop-daemon: failed to start `/usr/sbin/libvirtd' Jul 7 20:40:53 |
89 |
localhost /etc/init.d/libvirtd[8264]: ERROR: libvirtd failed to star |
90 |
|
91 |
Cannot see option to make this more verbose. |
92 |
|
93 |
|
94 |
-------------- |
95 |
John D Maunder |
96 |
jdm@××××××××××××.uk |