Errors in Libvirt Log


Recommended Posts

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?

Link to comment
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?

Link to comment
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?

Link to comment
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.

Link to comment
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
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.