Hi,<br>I meet with the problem that "Error: unable to connect to '/var/run/libvirt/libvirt-sock' ".<br>I do as  <a href="http://wiki.libvirt.org/page/FAQ#Error:_unable_to_connect_to_.27.2Fvar.2Frun.2Flibvirt.2Flibvirt-sock.27">Error: unable to connect to '/var/run/libvirt/libvirt-sock' </a>said but never worked:<br>
<br>root@shahe26:~# virsh<br>error: unable to connect to '/var/run/libvirt/libvirt-sock', libvirtd may need to be started: No such file or directory<br>error: failed to connect to the hypervisor<br>root@shahe26:~# ls /usr/lib64 | grep libvirt<br>
libvirt<br>libvirt.a<br><a href="http://libvirt.la">libvirt.la</a><br>libvirt-qemu.a<br><a href="http://libvirt-qemu.la">libvirt-qemu.la</a><br>libvirt-qemu.so<br>libvirt-qemu.so.0<br>libvirt-qemu.so.0.8.3<br>libvirt-qemu.so.0.9.0<br>
libvirt.so<br>libvirt.so.0<br>libvirt.so.0.8.3<br>libvirt.so.0.9.0<br>root@shahe26:~# ls /usr/lib32 | grep libvirt<br>root@shahe26:~# /etc/init.d/libvirt-bin restart<br>Restarting libvirt management daemon: /usr/sbin/libvirtd.<br>
root@shahe26:~# virsh<br>error: unable to connect to '/var/run/libvirt/libvirt-sock', libvirtd may need to be started: No such file or directory<br>error: failed to connect to the hypervisor<br>root@shahe26:~# <br>
<br>I install the libvirt as follows:<br>#./configure --prefix=/usr --libdir=/usr/lib64<br>#make<br>#make install<br><br>my OS is debian6.0.1a:<br>root@shahe26:~# uname -a<br>Linux shahe26 2.6.32 #1 SMP Wed Apr 27 21:52:04 PDT 2011 x86_64 GNU/Linux<br>
root@shahe26:~# <br><br>How to solve this problem?thanks.<br><br>best regards,<br>qinguan<br>