Closed imehrdad2012 closed 11 years ago
Well this is ubuntu?, if its that so try checking the permissions right in each directory. check if root its in the default group (libvirtd), watch the logs (/var/log/messages), check:
virsh 'net-list '
and see if its really exist a default option. this problem can be also that libvirtd its not running, if its that so try:
service libvirtd restart /etc/init.d/libvirt restart
or check if its in the rc.d files, start it up when the machine boots. http://wiki.libvirt.org/page/The_daemon_cannot_be_started
thats some problems i have when i learn to use KVM =D cheers .
Just ran into this issue, and restarting the service did the trick. Thanks! =)
good call!
Just ran into the same issue on Debian: sudo apt-get install libvirt-daemon-system
helped me solve it.
I have the same question on Centos7.4
I trying to grizzly version on ubuntu 13.04. it's says Failed to connect socket to '/var/run/libvirt/libvirt-sock'
Please check my console log root@dahlia:~# kvm-ok INFO: /dev/kvm exists KVM acceleration can be used root@dahlia:~# virsh net-destroy default error: failed to connect to the hypervisor error: Failed to connect socket to '/var/run/libvirt/libvirt-sock': No such file or directory root@dahlia:~# virsh net-undefine default error: failed to connect to the hypervisor error: Failed to connect socket to '/var/run/libvirt/libvirt-sock': No such file or directory
Do you have any suggestion how to resolve this issue?