error: Cannot open network interface control socket

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,
    I try to use gdb to debug libvirt's source code, but when I tend to create a domain with xml, it shows "error: internal error Network 'default' is not active", so I use the net-related commands as below.
"
virsh # net-start default
error: Failed to start network default
error: Cannot open network interface control socket: Operation not permitted
"

Then I check my URI, which is "qemu:///session", because adding "sudo virsh". I try to change URI to "qemu:///system" by clicking "virsh # connect qemu:///system". The following logs shown below:
virsh # connect qemu:///system
error: Failed to connect to the hypervisor
error: Failed to connect socket to '/usr/local/libvirt/var/run/libvirt/libvirt-sock': No such file or directory


Could you please tell me the reason? 

Thanks a lot!

Corey


_______________________________________________
libvirt-users mailing list
libvirt-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvirt-users

[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux