标签:kvm打开虚拟机失败failed to bindsocket: no such file or directory
使用virt-manger克隆一个虚拟机,再打开虚拟机失败,失败错误如下:
Error starting domain: internal error:process exited while connecting to monitor: 2016-09-23T11:25:02.302266Zqemu-kvm: -chardevsocket,id=charchannel0,path=/var/lib/libvirt/qemu/channel/target/domain-centos7.0_mini/org.qemu.guest_agent.0,server,nowait:Failed to bind socket: No such file or directory 2016-09-23T11:25:02.302352Z qemu-kvm:-chardevsocket,id=charchannel0,path=/var/lib/libvirt/qemu/channel/target/domain-centos7.0_mini/org.qemu.guest_agent.0,server,nowait:chardev: opening backend "socket" failed
解决方法:
将channel qemu-ga硬件移除掉。
或者修改配置文件将下面部分删除或注释掉
实际测试发现,删除配置文件中<channel>段使用图形界面开启vm依然报错。但是通过图形界面移除channel qemu-ga,查看配置文件确实是删除此段配置。
解决方法出至:https://bugzilla.redhat.com/show_bug.cgi?id=1270696。
本文出自 “丁同学1990” 博客,请务必保留此出处http://dingtongxue1990.blog.51cto.com/4959501/1856285
kvm打开虚拟机失败Failed to bindsocket: No such file or directory
标签:kvm打开虚拟机失败failed to bindsocket: no such file or directory
原文地址:http://dingtongxue1990.blog.51cto.com/4959501/1856285