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

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



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

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