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

Bitman Zhou bitman.zhou at sinobot.com.cn
Tue Oct 20 03:42:48 UTC 2009


1. Make sure you are using /usr/local/sbin/libvirtd built by you in
your /etc/init.d/libvirt-bin or just you can just run
"/usr/local/sbin/libvirtd -d";
2. "ls -l /usr/local/lib/libvirt.so.0" to check if it is linked to
libvirt.so.0.7;


在 2009-10-19一的 20:30 +0900,Ryota Ozaki写道:
> On Mon, Oct 19, 2009 at 7:52 PM, Liu, Zhentao
> <Zhentao.Liu at fokus-extern.fraunhofer.de> wrote:
> > 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?
> 
> Hmm, complicated ;-) but the above error should be avoided by replacing
> /usr/sbin/libvirtd with /usr/local/sbin/libvirtd in /etc/init.d/libvirt-bin.
> 
>   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