You are not logged in.

#1 2015-12-09 23:02:44

somniumAeternam
Member
Registered: 2015-06-17
Posts: 16

libvirt 1.3.0-1 not working

I've recently updated libvirt from 1.2.21-1 to 1.3.0-1. After the installation when I try to start a virtual machine in the virt manager it shows the error '/var/run/libvirt/virtlogd-sock' file or folder not found. Version 1.2.21 is working without any issues. The file '/var/run/libvirt/virtlogd-sock' is indeed not there. So probably the new version breaks something?

Offline

#2 2015-12-10 01:52:16

aeden
Member
Registered: 2015-12-10
Posts: 5

Re: libvirt 1.3.0-1 not working

Had same issue. Needed to run

sudo systemctl start virtlogd

Offline

#3 2015-12-10 02:29:46

BjornA
Banned
Registered: 2015-12-04
Posts: 5

Re: libvirt 1.3.0-1 not working

Thanks, I had the same issue too, running:

sudo systemctl start virtlogd

as described did fix the problem.

I also made it permanent:

sudo systemctl enable virtlogd

Last edited by BjornA (2015-12-10 02:56:40)

Offline

#4 2015-12-10 23:51:54

walkindude
Member
Registered: 2012-03-04
Posts: 29

Re: libvirt 1.3.0-1 not working

@aeden
Thanks! also got this)

Offline

#5 2015-12-11 06:08:18

cris9288
Member
Registered: 2013-01-07
Posts: 348

Re: libvirt 1.3.0-1 not working

...Weird...anyone have any idea why it wasn't starting? I initially got around this by changing

stdio_handler = "logd"
stdio_handler = "file"

but starting virtlogd (after reverting the setting) also fixes it for me.

Offline

#6 2015-12-13 02:56:54

salvor_hardin
Member
From: Michigan
Registered: 2014-12-31
Posts: 2

Re: libvirt 1.3.0-1 not working

Enabling virtlogd likewise solved the problem. The virtlogd-sock file doesn't actually exist, libvirt must have been updated in the past week because I ran an update yesterday and that's when it stopped working.

Offline

#7 2015-12-14 06:46:36

sulaweyo
Member
From: Austria
Registered: 2013-07-08
Posts: 24

Re: libvirt 1.3.0-1 not working

Starting it fixed it for me too.

If i read the systemd unit correctly it would add the virtlogd service when the libvirtd service is added which is fine for new installs but bad for existing ones. Imho it should be a Require= as it actually is required to start up a guest.

Offline

#8 2015-12-14 23:44:36

somniumAeternam
Member
Registered: 2015-06-17
Posts: 16

Re: libvirt 1.3.0-1 not working

Thanks for your help. It works now.

Offline

#9 2015-12-15 22:59:37

systemservers
Member
From: California
Registered: 2007-01-28
Posts: 4
Website

Re: libvirt 1.3.0-1 not working

just reenable libvirtd and all symlinks fixed:
# systemctl reenable libvirtd
Removed symlink /etc/systemd/system/multi-user.target.wants/libvirtd.service.
Removed symlink /etc/systemd/system/sockets.target.wants/virtlogd.socket.
Created symlink from /etc/systemd/system/multi-user.target.wants/libvirtd.service to /usr/lib/systemd/system/libvirtd.service.
Created symlink from /etc/systemd/system/sockets.target.wants/virtlockd.socket to /usr/lib/systemd/system/virtlockd.socket.
Created symlink from /etc/systemd/system/sockets.target.wants/virtlogd.socket to /usr/lib/systemd/system/virtlogd.socket.

Offline

Board footer

Powered by FluxBB