FW: [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:52:39 UTC 2009


Hi, ozaki

Another erro of mine is that:

------------------------------------------------------------------------------------------------------------------------------------------------------
root at forest:/var/run/libvirt# /etc/init.d/libvirt-bin start
* Starting libvirt management daemon libvirtd                                                                              
 /usr/sbin/libvirtd: /usr/local/lib/libvirt.so.0: version `LIBVIRT_PRIVATE_0.6.1' not found (required by /usr/sbin/libvirtd)
---------------------------------------------------------------------------------------------------------------------------------------------------

I think maybe I have mixed installed version 0.6.1 and 0.7.0. But I have no idea how can I fix it?

Regards

Zhentao

-----Original Message-----
From: libvir-list-bounces at redhat.com on behalf of Liu, Zhentao
Sent: Mon 10/19/2009 12:31 PM
To: Ryota Ozaki
Cc: libvir-list at redhat.com
Subject: RE: [libvirt] error: unable to connect to'/usr/local/var/run/libvirt/libvirt-sock': Connection refused
 https://mailsrv.fokus.fraunhofer.de/exchange/zli/Inbox/?Cmd=contents&Page=1
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/b9892438/attachment-0001.htm>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ATT5291612.txt
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20091019/b9892438/attachment-0001.txt>


More information about the libvir-list mailing list