2019-08-10
Use virsh command error
error: failed to connect to the hypervisor error: Failed to connect socket to '/var/run/libvirt/libvirt-sock': No such file or directory
Check the reason, found libvirtd process does not start
systemctl status libvirtd # View libvirtd process status
Solution, start libvirtd module
libvirtd -d or systemctl restart libvirtd