Re: how to use libvirt

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 09.01.2013 07:22, tianwei zhang wrote:
> Hi Eric:
> 
> Yes, I mean sudo make install.
> 
> What I installed the libvirt on ubuntu is as below:
> 
> ./configure --prefix=/usr --localstatedir=/var --sysconfdir=/etc
> make
> sudo make install. 
> 
> after installation, I try to start the libvirtd and the error is:
> 
> service libvirtd start
> libvirtd: unrecognized service

I don't know what your init daemon is, but you need to tell configure
which style of init script you want to install:

./configure --with-init-script=systemd

or whatever you are using. See ./configure --help for more info on this.

> 
> Also when I type:
> 
> virsh list --all:
> error: Failed to reconnect to the hypervisor
> error: no valid connection
> error: Failed to connect socket to '/var/run/libvirt/libvirt-sock': No
> such file or directory
> 
> So what's wrong with that?

This is the result of libvirtd not running.

> 
> Thank you so much
> 
> Tianwei

Michal

_______________________________________________
libvirt-users mailing list
libvirt-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvirt-users


[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux