VM Libvirt Service failed to start


Recommended Posts

My wife went to use our kitchen pc which is a windows vm running on unraid.  The vm which was running did not wake up when she moved the mouse.  I opened a VPN connection and went to the VM tab and it said Libvirt Services failed to start.   Then while on the phone with my wife she said nevermind it came back up.  I am home now writing this post from the VM and it appears to be working fine, however the VM tab still says Libvirt Sevices failed to start.  

 

I have attached a copy of diagnostics.  Any suggestions.  Something like this happed a couple of weeks ago (same message) and I rebooted the unraid server and everything came back fine.  Since its happened twice...should I delete the libvirt image and recreate my vm's?  I know I have backups of the xmls.   

 

Thanks,

Dan

vm.jpg

tower-diagnostics-20210520-1338.zip

Link to comment
13 minutes ago, goinsnoopin said:

I am home now writing this post from the VM and it appears to be working fine, however the VM tab still says Libvirt Sevices failed to start.  

This is very strange, and I don't see nothing in the logs about libvirt issues, the only thing logged about that are the scheduled trims.

Link to comment

I can see this:

May 15 07:39:08 Tower emhttpd: shcmd (6380905): /etc/rc.d/rc.libvirt stop
May 15 07:39:08 Tower root: error: failed to connect to the hypervisor
May 15 07:39:08 Tower root: error: Failed to connect socket to '/var/run/libvirt/libvirt-sock': Connection refused
May 15 07:39:08 Tower root: Waiting on VMs to shutdownerror: failed to connect to the hypervisor
May 15 07:39:08 Tower root: error: Failed to connect socket to '/var/run/libvirt/libvirt-sock': Connection refused
May 15 07:39:08 Tower root:
May 15 07:39:08 Tower root: error: failed to connect to the hypervisor
May 15 07:39:08 Tower root: error: Failed to connect socket to '/var/run/libvirt/libvirt-sock': Connection refused
May 15 07:39:08 Tower root: Stopping libvirtd...
May 15 07:39:09 Tower root: error: failed to connect to the hypervisor
May 15 07:39:09 Tower root: error: Failed to connect socket to '/var/run/libvirt/libvirt-sock': Connection refused
May 15 07:39:09 Tower root: /etc/rc.d/rc.libvirt: line 157: kill: (23854) - No such process
May 15 07:39:12 Tower root: Stopping virtlogd...
May 15 07:39:13 Tower root: Stopping virtlockd...
May 15 07:39:14 Tower emhttpd: shcmd (6380906): umount /etc/libvirt
May 15 07:39:14 Tower root: umount: /etc/libvirt: target is busy.

 

VM service failed to stop and unmount libvirt, so it's normal for a reboot to fix it, can't say why it failed to stop though.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.