libvirt error: Failed to reconnect to the hypervisor

Posted fqxy

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了libvirt error: Failed to reconnect to the hypervisor相关的知识,希望对你有一定的参考价值。

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

 

以上是关于libvirt error: Failed to reconnect to the hypervisor的主要内容,如果未能解决你的问题,请参考以下文章

Failed to connect socket to '/var/run/libvirt/libvirt-sock': No such file or director

Failed to connect socket to '/var/run/libvirt/libvirt-sock': No such file or directory错误处理(示

error: Refusing to undefine while domain managed save image exists

CentOS7 libvirtd(Failed to notify systemd)

安装Intel HAXM:"failed to configure driver unknown error. failed to open driver"

Git上传提示error: failed to push some refs to