Hi, ozaki
Thank you for your reply. As you said, libvirtd is not running. I have tested, there was
error:
-------------------------------------------------------------------------------------------------------
root@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@gmail.com]
Sent: Mon 10/19/2009 12:20 PM
To: Liu, Zhentao
Cc: libvir-list(a)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(a)fokus-extern.fraunhofer.de> wrote:
Hello,
I updated libvirt-bin to version 0.7.0. I still got a error:
-------------------------------------------------------------------------------------------
root@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(a)redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list