You are not logged in.

#1 2012-08-01 17:40:46

i_dont_even
Member
Registered: 2012-08-01
Posts: 3

[Solved] /usr/sbin/libvirtd: initialization failed

For some reason I can't get libvirtd to start.  Here's what happens when I try to use systemctl:
[me@mycomp ~]$ sudo systemctl start libvirtd.service
[me@mycomp ~]$ sudo systemctl status libvirtd.service
libvirtd.service - Virtualization daemon
      Loaded: loaded (/usr/lib/systemd/system/libvirtd.service; enabled)
      Active: failed (Result: exit-code) since Wed, 01 Aug 2012 13:33:12 -0400; 5s ago
     Process: 8625 ExecStart=/usr/sbin/libvirtd $LIBVIRTD_ARGS (code=exited, status=1/FAILURE)
      CGroup: name=systemd:/system/libvirtd.service

Aug 01 13:33:12 mycomp libvirtd[8625]: /usr/sbin/libvirtd: initialization failed

But running it directly seems to go okay:
[me@mycomp ~]$ sudo /usr/sbin/libvirtd
2012-08-01 17:36:36.185+0000: 8915: info : libvirt version: 0.9.13

So I tried logging in as root and running it:
[root@mycomp ~]$ /usr/sbin/libvirtd
/usr/sbin/libvirtd: initialization failed



Does anyone have any idea?  I've tried rooting around in logs, but can't find anything that's relevant.

Last edited by i_dont_even (2012-08-02 14:42:20)

Offline

#2 2012-08-02 08:06:19

Minsc
Member
Registered: 2012-07-16
Posts: 95

Re: [Solved] /usr/sbin/libvirtd: initialization failed

The errors it's giving you aren't very helpful. I would suggest changing the log_level in the config to 1 (debug), try again and then look at the logs again.

Offline

#3 2012-08-02 14:41:34

i_dont_even
Member
Registered: 2012-08-01
Posts: 3

Re: [Solved] /usr/sbin/libvirtd: initialization failed

So it turns out my locale wasn't generated correctly.  Uncommenting the right line in locale.gen, running locale-gen, and rebooting fixed it.

Last edited by i_dont_even (2012-08-02 14:41:47)

Offline

Board footer

Powered by FluxBB