[libvirt] error: unable to connect to '/usr/local/var/run/libvirt/libvirt-sock': Connection refused

Ryota Ozaki ozaki.ryota at gmail.com
Mon Oct 19 10:20:44 UTC 2009


Hi Liu,

On Mon, Oct 19, 2009 at 6:58 PM, Liu, Zhentao
<Zhentao.Liu at fokus-extern.fraunhofer.de> wrote:
> Hello,
>
> I updated libvirt-bin to version 0.7.0. I still got a error:
>
> -------------------------------------------------------------------------------------------
>
> root at forest:/tmp/libvirt-0.7.0# virsh -c qemu:///system list
> error: unable to connect to '/usr/local/var/run/libvirt/libvirt-sock':
> Connection refused
> error: failed to connect to the hypervisor
> -------------------------------------------------------------------------------------------
>
> Any helps?

I guess libvirtd is not running, or running but waiting on
'/var/run/libvirt/libvirt-sock'
where your virsh is try to look up
'/usr/local/var/run/libvirt/libvirt-sock'. In the second
case, you can confirm my guess by doing 'lsof |grep libvirt-sock'.

  ozaki-r

>
> Regards
>
> Zhentao
>
> --
> Libvir-list mailing list
> Libvir-list at redhat.com
> https://www.redhat.com/mailman/listinfo/libvir-list
>
>




More information about the libvir-list mailing list