First, in Virtual Machine Manager boot system times error:
Cannot send Monitor command ' {' Execute ': ' Qmp_capabilities '} ': Connection reset by peer
Traceback (most recent call last):
File "/usr/share/virt-manager/virtmanager/asyncjob.py", line, in Cb_wrapper
Callback (Asyncjob, *args, **kwargs)
File "/usr/share/virt-manager/virtmanager/engine.py", line 956, in Asyncfunc
Vm.startup ()
File "/usr/share/virt-manager/virtmanager/domain.py", line 1048, in startup
Self._backend.create ()
File "/usr/lib64/python2.6/site-packages/libvirt.py", line 325, in Create
if ret = = -1:raise Libvirterror (' Virdomaincreate () failed ', dom=self)
Libvirterror:cannot Send Monitor command ' {' Execute ': ' Qmp_capabilities '} ': Connection reset by peer
Solution:
1) Remove any snapshot available
# rm-f/var/lib/libvirt/qemu/save/my-virtual-machine-name
2) Restart LIBVIRTD
# Service LIBVIRTD Restart
3) Start the virtual machine again
Second, in the ordinary user log in the case, open the virtual machine may also be an error, the problem may be encountered is: LIBVIRTD This service has not started
Solution:
1) su root
2) Service LIBVIRTD start
3) Chkconfig LIBVIRTD on (set to power-on self-boot)
This column more highlights: http://www.bianceng.cnhttp://www.bianceng.cn/OS/Linux/