Failed to connect socket to '/usr/local/libvirt/var/run/libvirt/libvirt-sock':

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

 



Hi all,
    When I tend to use "virsh # connect qemu:///system", the debug info shown below:
Failed to connect socket to '/usr/local/libvirt/var/run/libvirt/libvirt-sock': No such file or directory

    I use libvirt-bin's file "libvirt-sock" linking to the directory(usr/local/libvirt/var/run/libvirt) where virsh needs to search it, then the problem solved. 
    But I need to debug libvirt with gdb tracing libvirt's source code, to avoid the effects of libvirt-bin, I should remove libvirt-bin. As a result, the symbolic of libvirt-sock is missed.
    Also I can't copy "libvirt-sock", because "cp: cannot open `/var/run/libvirt/libvirt-sock' for reading: No such device or address".
 
    So could you please give me some advise to add the file "libvirt-sock" after the source installation in ubuntu?
   
   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