[libvirt-users] libvirtd service not starting

Kashyap Chamarthy kchamart at redhat.com
Thu Sep 24 10:29:46 UTC 2015


On Thu, Sep 24, 2015 at 06:47:43AM +0200, Martin Kletzander wrote:
> On Wed, Sep 23, 2015 at 11:00:34PM +0000, Jonathan Rurka wrote:
> >Hello, I'm new to using libvirt. After a few days of installing and
> >removing libvirt, virt-manager and a few others to get VT-d working
> >with a virtual machine, I finally got the latest virt-manager and
> >libvirt installed from source to get the most recent
> >versions. However, when I start up virt-manager I get a popup saying
> >"Unable to connect to libvirt; Verify that the 'libvirtd' deamon is
> >running.". When running "service libvirtd start", I get an error
> >saying libvirtd.service cannot be found. I can, however, use libvirtd
> >from the command line. The service file does not exist
> >in /lib/systemd/system/.
> >
> 
> Did you probably forget to specify the prefix to install it into?  you
> can do "which libvirtd" to see that you probably installed it into
> /usr/local/sbin.  Specifying the prefix should help.
> 
> Getting to your "to get VT-d working", you should check whether
> everything is enabled in BIOS.  That's usually the case if it's not
> working for you.

[A small addendum to what Martin says.]

Jon, you can use `virt-host-validate` to check the above, if everything
is setup correctly, it should look like that:

  $ sudo virt-host-validate
    QEMU: Checking for hardware virtualization                                 : PASS
    QEMU: Checking for device /dev/kvm                                         : PASS
    QEMU: Checking for device /dev/vhost-net                                   : PASS
    QEMU: Checking for device /dev/net/tun                                     : PASS
     LXC: Checking for Linux >= 2.6.26                                         : PASS



[. . .]

-- 
/kashyap




More information about the libvirt-users mailing list