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

猜你喜欢

转载自www.cnblogs.com/fqxy/p/11332366.html