Skip to content

libvirtd fails to initialize

I installed libvirt and some dependencies as usual:

pacman -S libvirt bridge-utils qemu openbsd-netcat

However, when starting the service I get errors...

[root@charlie libvirt]# systemctl start libvirtd
Job for libvirtd.service failed because the control process exited with error code. See "systemctl status libvirtd.service" and "journalctl -xe" for details.

Log output is non-existent, even when changing the log_level and log_outputs to diplay all informational logs on all available channels.

[root@charlie libvirt]# systemctl status libvirtd
● libvirtd.service - Virtualization daemon
   Loaded: loaded (/usr/lib/systemd/system/libvirtd.service; disabled; vendor preset: disabled)
   Active: inactive (dead)
     Docs: man:libvirtd(8)
           http://libvirt.org
[root@charlie libvirt]# libvirtd -f libvirt.conf 
libvirtd: initialization failed

Journalctl mentions nothing regarding libvirtd.

Anyone here have any ideas where to start looking for clues?

0 points2 comments
Open on Reddit
About this post
Posted
Archived
Score
0 · 100% up
Kind
Text
ID
473v6g

Author

7
posts
123
comments
0
media
View profile

2 comments

/usr/bin/libvirtd -v -f libvirt.conf

alternative:

strace /usr/bin/libvirtd -f libvirt.conf

that should give you some additional help

2 points

facepalms Forgot about strace, turns out I forgot to set up my locale correctly.

Maybe I should stop rolling out new systems while sleep deprived....

Thanks!

2 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.