[libvirt-users] libvirtd not starting

Martin Kletzander mkletzan at redhat.com
Thu May 2 09:43:52 UTC 2019

On Thu, May 02, 2019 at 11:22:39AM +0200, Lothar Schilling wrote:
>Hi everybody,
>I've set up an new CentOS 7.6.1810 server. Then, via yum I installed
>qemu-kvm libvirt libvirt-python libguestfs-tools virt-install. There
>were no problems. But when I try to
>systemctl start libvirtd
>I get the following message:
>"libvirtd: process 472: arguments to dbus_message_iter_append_basic()
>were incorrect, assertion "_dbus_check_is_valid_utf8 (*string_p)" failed
>in file ../../dbus/dbus-message.c line 2754."

Firstly I would make sure that all the packages are up to date.  I'm not sure
what the relevant versions are on CentOS 7.6.1810, so saying what versio you
have installed might help later.

This message actually doesn't look like it comes from libvirt.  Are there few more lines in a log somewhere?

>Starting libvirtd manually just by issuing the command "libvirtd"
>without any further arguments is working, though.

As root?  This would also make sense if the communication that fails with the
above error is happening between libvirtd and systemd (when the daemon is
started by systemd).

>I do not have the slightest idea what is going on, especially as I
>didn't change anything about the config files.

I'm not really sure what the daemon is supposed to tell systemd apart
sd_notify() when it is starting.  Maybe it is some value from the environment that we're sending and the error originates there, actually.  Like the hostname or something similar.  Again, having more logs would help as I too don't really know what is going on in there.

>Any help would be appreciated, thank you
>Lothar Schilling
>libvirt-users mailing list
>libvirt-users at redhat.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20190502/798536f0/attachment.sig>

More information about the libvirt-users mailing list