libvirt error: Failed to reconnect to the hypervisor

一世执手 提交于 2019-11-26 20:10:54

2019-08-10


 

 

使用virsh命令报错

error: failed to connect to the hypervisor
error: Failed to connect socket to '/var/run/libvirt/libvirt-sock': No such file or directory

检查原因,发现libvirtd 进程没有启动

systemctl status libvirtd   #查看 libvirtd 的进程状态

解决办法,启动libvirtd模块

libvirtd -d  或者 systemctl restart libvirtd

 

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!