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