You are not logged in.
Hello forum, This is my first post so let me know if anything is formated wrong.
I have been trying to set up libvirt in order to create a windows virtual machine. I am new to libvirt so I followed the wiki's instructions. Whenever I try to start the libvirt deamon it fails with the message, "Job for libvirtd.service failed because a timeout was exceeded. See "systemctl status libvirtd.service" and "journalctl -xe" for details." Any help on solving this issue is much appreciated.
Here is the output of "systemctl status libvirtd.service":
● libvirtd.service - Virtualization daemon
Loaded: loaded (/usr/lib/systemd/system/libvirtd.service; enabled; vendor preset: disabled)
Active: activating (start) since Fri 2016-03-04 18:53:18 EST; 18s ago
Docs: man:libvirtd(8)
[url]http://libvirt.org[/url]
Main PID: 812 (libvirtd)
Tasks: 18 (limit: 512)
CGroup: /system.slice/libvirtd.service
├─620 /sbin/dnsmasq --conf-file=/var/lib/libvirt/dnsmasq/default.conf --leasefile-ro --dhcp-script=/usr/lib/libvirt/libvirt_leaseshelper
├─621 /sbin/dnsmasq --conf-file=/var/lib/libvirt/dnsmasq/default.conf --leasefile-ro --dhcp-script=/usr/lib/libvirt/libvirt_leaseshelper
└─812 /usr/bin/libvirtd --listen
Mar 04 18:53:18 tims-desktop systemd[1]: Starting Virtualization daemon...
Mar 04 18:53:19 tims-desktop dnsmasq[620]: read /etc/hosts - 2 addresses
Mar 04 18:53:19 tims-desktop dnsmasq[620]: read /var/lib/libvirt/dnsmasq/default.addnhosts - 0 addresses
Mar 04 18:53:19 tims-desktop dnsmasq-dhcp[620]: read /var/lib/libvirt/dnsmasq/default.hostsfile
Here is the output of "journalctl -xe":
-- Subject: Unit libvirtd.service has failed
-- Defined-By: systemd
-- Support: [url]http://lists.freedesktop.org/mailman/listinfo/systemd-devel[/url]
--
-- Unit libvirtd.service has failed.
--
-- The result is failed.
Mar 04 18:59:20 tims-desktop systemd[1]: libvirtd.service: Unit entered failed state.
Mar 04 18:59:20 tims-desktop systemd[1]: libvirtd.service: Failed with result 'timeout'.
Mar 04 18:59:20 tims-desktop sudo[1260]: pam_unix(sudo:session): session closed for user root
Mar 04 18:59:20 tims-desktop polkitd[662]: Unregistered Authentication Agent for unix-process:1261:42678 (system bus name :1.27, object path /org/freedesktop/PolicyKit1/AuthenticationAgent,
Mar 04 18:59:20 tims-desktop systemd[1]: libvirtd.service: Service hold-off time over, scheduling restart.
Mar 04 18:59:20 tims-desktop systemd[1]: Stopped Virtualization daemon.
-- Subject: Unit libvirtd.service has finished shutting down
-- Defined-By: systemd
-- Support: [url]http://lists.freedesktop.org/mailman/listinfo/systemd-devel[/url]
--
-- Unit libvirtd.service has finished shutting down.
Mar 04 18:59:20 tims-desktop systemd[1]: Starting Virtualization daemon...
-- Subject: Unit libvirtd.service has begun start-up
-- Defined-By: systemd
-- Support: [url]http://lists.freedesktop.org/mailman/listinfo/systemd-devel[/url]
--
-- Unit libvirtd.service has begun starting up.
Mar 04 18:59:20 tims-desktop dnsmasq[620]: read /etc/hosts - 2 addresses
Mar 04 18:59:20 tims-desktop dnsmasq[620]: read /var/lib/libvirt/dnsmasq/default.addnhosts - 0 addresses
Mar 04 18:59:20 tims-desktop dnsmasq-dhcp[620]: read /var/lib/libvirt/dnsmasq/default.hostsfile
Mar 04 19:00:51 tims-desktop systemd[1]: libvirtd.service: Start operation timed out. Terminating.
Mar 04 19:00:51 tims-desktop systemd[1]: Failed to start Virtualization daemon.
-- Subject: Unit libvirtd.service has failed
-- Defined-By: systemd
-- Support: [url]http://lists.freedesktop.org/mailman/listinfo/systemd-devel[/url]
--
-- Unit libvirtd.service has failed.
--
-- The result is failed.
Mar 04 19:00:51 tims-desktop systemd[1]: libvirtd.service: Unit entered failed state.
Mar 04 19:00:51 tims-desktop systemd[1]: libvirtd.service: Failed with result 'timeout'.
Mar 04 19:00:51 tims-desktop systemd[1]: libvirtd.service: Service hold-off time over, scheduling restart.
Mar 04 19:00:51 tims-desktop systemd[1]: Stopped Virtualization daemon.
-- Subject: Unit libvirtd.service has finished shutting down
-- Defined-By: systemd
-- Support: [url]http://lists.freedesktop.org/mailman/listinfo/systemd-devel[/url]
--
-- Unit libvirtd.service has finished shutting down.
Mar 04 19:00:51 tims-desktop systemd[1]: Starting Virtualization daemon...
-- Subject: Unit libvirtd.service has begun start-up
-- Defined-By: systemd
-- Support: [url]http://lists.freedesktop.org/mailman/listinfo/systemd-devel[/url]
--
-- Unit libvirtd.service has begun starting up.
Mar 04 19:00:51 tims-desktop dnsmasq[620]: read /etc/hosts - 2 addresses
Mar 04 19:00:51 tims-desktop dnsmasq[620]: read /var/lib/libvirt/dnsmasq/default.addnhosts - 0 addresses
Mar 04 19:00:51 tims-desktop dnsmasq-dhcp[620]: read /var/lib/libvirt/dnsmasq/default.hostsfile
Last edited by thetimmorland (2016-03-05 00:57:09)
Offline
Please use code tags when pasting to the boards: https://wiki.archlinux.org/index.php/Fo … s_and_code
Offline
I am also experiencing the same issue.
I increased the log level in the /etc/libvirt/libvirtd.conf to INFO, but no obvious logs are appearing.
Maybe, it is some other process that is faulty.
Offline
Duplicates https://bbs.archlinux.org/viewtopic.php?id=209588 which has a workaround (#3) and a potential package fix #27.
Offline
I am also experiencing the same issue.
I increased the log level in the /etc/libvirt/libvirtd.conf to INFO, but no obvious logs are appearing.
Maybe, it is some other process that is faulty.
I have done that as well. Perhaps the issue is with the package itself, and not the configuration, since multiple people are having the issue.
Last edited by thetimmorland (2016-03-05 00:44:40)
Offline
Duplicates https://bbs.archlinux.org/viewtopic.php?id=209588 which has a workaround (#3) and a potential package fix #27.
Thank you for showing this to me, I really should have looked at the forums before I posted. This workaround worked for me.
Offline
Yes, commenting out Type=notify in the unit file worked for me as well.
Offline
I have same problem. Thank you very much.
Offline