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

Liu, Zhentao Zhentao.Liu at fokus-extern.fraunhofer.de
Mon Oct 19 10:31:21 UTC 2009


Hi, ozaki

Thank you for your reply. As you said, libvirtd is not running. I have tested, there was error:

-------------------------------------------------------------------------------------------------------

root at forest:/var/run/libvirt# libvirtd start
libvir: Network Config error : cannot create bridge 'virbr0': File exists
12:34:30.525: warning : qemudStartup:521 : Unable to create cgroup for driver: No such device or address
12:34:30.598: warning : lxcStartup:1460 : Unable to create cgroup for driver: No such device or address
----------------------------------------------------------------------------------------------------------

How can I fix it?

Regards

Zhentao


-----Original Message-----
From: Ryota Ozaki [mailto:ozaki.ryota at gmail.com]
Sent: Mon 10/19/2009 12:20 PM
To: Liu, Zhentao
Cc: libvir-list at redhat.com; Ryota OZAKI
Subject: Re: [libvirt] error: unable to connect to '/usr/local/var/run/libvirt/libvirt-sock': Connection refused
 
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
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20091019/8cd5105f/attachment-0001.htm>


More information about the libvir-list mailing list