[libvirt-users] Failed to launch libvirt 1.2.7

Sławek Kapłoński slawek at kaplonski.pl
Sun Oct 23 10:09:51 UTC 2016


Hello,

Did You try to run autogen.sh with "--system" flag before doing "make"?
As it is described in http://libvirt.org/compiling.html - maybe that
would help You.

-- 
Best regards / Pozdrawiam
Sławek Kapłoński
slawek at kaplonski.pl

On Sun, 23 Oct 2016, Marina Danial wrote:

> Hello,
> 
> I am currently working on Redhat 6 - Kernel 2.6.32-358.el6.x86_64. It has
> by default libvirt 0.10.2.
> 
> I wanted version 1.2.7. So I downloaded this and libvirt-1.2.7.tar.gz and I
> followed the following steps:
> 
> 1. ./configure (with its default settings)
> 2. make
> 3. make install
> 
> 
> Currently, the installation is in: /usr/local
> 
> and the source tree is in /export/home/libvirt.
> 
> 
> I stopped the previously installed daemon so that the new one takes effect.
> 
> I launched the daemon from /export/home/libvirt/daemon/libvirtd -d.
> 
> However every time I launch the C++ code, this message appears:
> 
> libvir: XML-RPC error : Failed to connect socket to
> '/var/run/libvirt/libvirt-sock': No such file or directory
> Failed to open connection to qemu:///system
> 
> My questions are:
> 
> 1. How can I launch the daemon from the source tree? It does not behave as
> it should when it is launched from /etc/init.d
> 2. How can any application e.g. virt-manager look at the new paths of the
> newly installed libvirt?
> 3. How can I get libvirt to work from the source tree as if it was
> originally installed in Redhat?
> 
> 
> Thanks
> Marina

> _______________________________________________
> libvirt-users mailing list
> libvirt-users at redhat.com
> https://www.redhat.com/mailman/listinfo/libvirt-users

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20161023/47fca90e/attachment.sig>


More information about the libvirt-users mailing list