Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Errors in Libvirt Log

Featured Replies

So upon trying to investigate why VM Manager wasn't relaunching, I opened the Libvirt log and see a bunch of errors and warnings.  I restarted the server and I was able to see my VMs and VM Manager is working, but I still have these errors in the Libvirt logs.  The Windows 10 and macOS VMs have been deleted a long time, so I'm not sure why Libvirt is trying to access them.

 

I've also deleted the Libvirt file.

 

There's also that last line about Input/Output error.

 

Quote

2022-10-16 00:41:46.828+0000: 9519: error : virDirOpenInternal:2919 : cannot open directory '/mnt/user/domains/Windows 10': No such file or directory
2022-10-16 00:41:46.828+0000: 9519: error : storageDriverAutostartCallback:213 : internal error: Failed to autostart storage pool 'Windows_10': cannot open directory '/mnt/user/domains/Windows 10': No such file or directory
2022-10-16 00:41:46.828+0000: 9519: error : virDirOpenInternal:2919 : cannot open directory '/mnt/user/domains/macOS Mojave': No such file or directory
2022-10-16 00:41:46.828+0000: 9519: error : storageDriverAutostartCallback:213 : internal error: Failed to autostart storage pool 'macOS_Mojave': cannot open directory '/mnt/user/domains/macOS Mojave': No such file or directory
2022-10-16 00:41:54.864+0000: 9502: error : virNetSocketReadWire:1791 : End of file while reading data: Input/output error

 

Any ideas on a solution?

  • Community Expert
7 hours ago, aidenpryde said:

So upon trying to investigate why VM Manager wasn't relaunching, I opened the Libvirt log and see a bunch of errors and warnings.  I restarted the server and I was able to see my VMs and VM Manager is working, but I still have these errors in the Libvirt logs.  The Windows 10 and macOS VMs have been deleted a long time, so I'm not sure why Libvirt is trying to access them.

 

I've also deleted the Libvirt file.

 

There's also that last line about Input/Output error.

 

 

Any ideas on a solution?

Which Libvirt file did you delete? What does your VM screen look like?

  • Author
1 hour ago, SimonF said:

Which Libvirt file did you delete? What does your VM screen look like?

/mnt/user/system/libvirt/libvirt.img is the file that I deleted with the Settings > VM Manager.  Figured that would fix it if it were calling some file that doesn't exist, but that did not.

 

To delete it, I turned off "enable VMs" and used Settings > VM Manager to delete it and recreate it.

 

As for "VM screen;" I'm not entirely sure what you mean.  There are no "Windows 10" or "macOS Mojave" VMs anymore, and haven't been for over a year.  Do you mean VM Manager?

  • Community Expert
13 minutes ago, aidenpryde said:

/mnt/user/system/libvirt/libvirt.img is the file that I deleted with the Settings > VM Manager.  Figured that would fix it if it were calling some file that doesn't exist, but that did not.

 

To delete it, I turned off "enable VMs" and used Settings > VM Manager to delete it and recreate it.

 

As for "VM screen;" I'm not entirely sure what you mean.  There are no "Windows 10" or "macOS Mojave" VMs anymore, and haven't been for over a year.  Do you mean VM Manager?

Yes I did mean VM Manager.

  • Author
20 minutes ago, SimonF said:

Yes I did mean VM Manager.

1126908153_ScreenShot2022-10-16at6_06_36AM.thumb.png.3958fde28665c1043e0157d1b8adbd7f.png

 

I did check the box under "Correct file system errors" and scrubbed it, though I don't think that was relevant.

  • Community Expert
58 minutes ago, aidenpryde said:

1126908153_ScreenShot2022-10-16at6_06_36AM.thumb.png.3958fde28665c1043e0157d1b8adbd7f.png

 

I did check the box under "Correct file system errors" and scrubbed it, though I don't think that was relevant.

What is the output of tree /etc/libvirt

  • Author
2 minutes ago, SimonF said:

What is the output of tree /etc/libvirt

Quote

root@unraid:~# tree /etc/libvirt
/etc/libvirt
├── hooks
│   └── qemu
├── libvirt-admin.conf
├── libvirt.conf
├── libvirtd.conf
├── nwfilter
│   ├── allow-arp.xml
│   ├── allow-dhcp-server.xml
│   ├── allow-dhcp.xml
│   ├── allow-dhcpv6-server.xml
│   ├── allow-dhcpv6.xml
│   ├── allow-incoming-ipv4.xml
│   ├── allow-incoming-ipv6.xml
│   ├── allow-ipv4.xml
│   ├── allow-ipv6.xml
│   ├── clean-traffic-gateway.xml
│   ├── clean-traffic.xml
│   ├── no-arp-ip-spoofing.xml
│   ├── no-arp-mac-spoofing.xml
│   ├── no-arp-spoofing.xml
│   ├── no-ip-multicast.xml
│   ├── no-ip-spoofing.xml
│   ├── no-ipv6-multicast.xml
│   ├── no-ipv6-spoofing.xml
│   ├── no-mac-broadcast.xml
│   ├── no-mac-spoofing.xml
│   ├── no-other-l2-traffic.xml
│   ├── no-other-rarp-traffic.xml
│   ├── qemu-announce-self-rarp.xml
│   └── qemu-announce-self.xml
├── qemu
│   ├── autostart
│   ├── networks
│   │   ├── autostart
│   │   │   └── default.xml -> ../default.xml
│   │   └── default.xml
│   ├── nvram
│   │   ├── 41dd4ad5-4cc7-2c1d-3a9c-bce3c61bc24c_VARS-pure-efi-tpm.fd
│   │   └── cf5a1f74-3929-6ddb-740d-ce4595246025_VARS-pure-efi-tpm.fd
│   ├── swtpm
│   │   └── tpm-states
│   ├── unraid-manjaro.xml
│   └── unraid-ubuntu.xml
├── qemu-lockd.conf
├── qemu.conf
├── secrets
├── storage
│   └── autostart
├── virt-login-shell.conf
├── virtchd.conf
├── virtinterfaced.conf
├── virtlockd.conf
├── virtlogd.conf
├── virtnetworkd.conf
├── virtnodedevd.conf
├── virtnwfilterd.conf
├── virtproxyd.conf
├── virtqemud.conf
├── virtsecretd.conf
└── virtstoraged.conf

12 directories, 48 files

 

Edited by aidenpryde

  • Community Expert
51 minutes ago, aidenpryde said:

 

Strange that you dont have any files in storage, so not sure where it is getting info for autostart.

  • Author
5 hours ago, SimonF said:

Strange that you dont have any files in storage, so not sure where it is getting info for autostart.

I don't know what else could be calling it if that's what controls the autolaunch.  I don't normally do much with virtualization on Unraid.

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...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.