September 28, 20187 yr Hi, Ive upgraded to 6.6.1 and now I keep getting the following error when trying to enable VMs on the VMs tab. Libvirt Service failed to start. Under VM Manager settings, this is the LIBVIRT log that I have: 2018-09-27 23:31:09.873+0000: 10287: info : libvirt version: 4.6.0 2018-09-27 23:31:09.873+0000: 10287: info : hostname: Tower 2018-09-27 23:31:09.873+0000: 10287: error : virGetUserID:1043 : invalid argument: Failed to parse user 'tss' 2018-09-27 23:31:09.873+0000: 10287: error : virGetGroupID:1123 : invalid argument: Failed to parse group 'tss' 2018-09-27 23:31:10.797+0000: 10287: warning : qemuDomainObjTaint:7546 : Domain id=1 name='towerWin10' uuid=b4da61b1-3499-f15d-6f24-82ff68c33a81 is tainted: high-privileges 2018-09-27 23:31:10.797+0000: 10287: warning : qemuDomainObjTaint:7546 : Domain id=1 name='towerWin10' uuid=b4da61b1-3499-f15d-6f24-82ff68c33a81 is tainted: host-cpu 2018-09-28 02:01:07.620+0000: 10266: error : qemuMonitorIO:718 : internal error: End of file from qemu monitor whats going on?
September 30, 20187 yr I am encountering the same issue and my diagnostics are attached. nasmedia-diagnostics-20180930-0914.zip
September 30, 20187 yr Had the same error and it disappeared after a server restart. I also used the default configuration (Flash -> Syslinux configuration -> Default button). Though, the two errors and the warnings in the log are still there. Before 6.6.x had no problems starting VMs.
September 30, 20187 yr 47 minutes ago, daemon_of_chaos said: I am encountering the same issue and my diagnostics are attached. nasmedia-diagnostics-20180930-0914.zip Sep 30 09:09:25 nasmedia emhttpd: shcmd (5821): /usr/local/sbin/mount_image '/mnt/cache/system/' /etc/libvirt 1 Sep 30 09:09:25 nasmedia root: /mnt/cache/system/ is not a file IMAGE_FILE="/mnt/cache/system/" Go to settings, VM Settings and change the libvirt image to point to the actual libvirt.img file instead of just the folder Edited September 30, 20187 yr by Squid
September 30, 20187 yr 35 minutes ago, Pin147 said: Before 6.6.x had no problems starting VMs. Same. In v6.5.3 VMs worked without issue.
September 30, 20187 yr 31 minutes ago, Squid said: Sep 30 09:09:25 nasmedia emhttpd: shcmd (5821): /usr/local/sbin/mount_image '/mnt/cache/system/' /etc/libvirt 1 Sep 30 09:09:25 nasmedia root: /mnt/cache/system/ is not a file IMAGE_FILE="/mnt/cache/system/" Go to settings, VM Settings and change the libvirt image to point to the actual libvirt.img file instead of just the folder I do not have that option. My only options are whether to enable and what libvirt image to use via a dropdown. There is no place to specify the location of that image file. Even after I click Download for that image, I cannot find the file within /mnt/cache/ Do I really need this file if I don't plan to run Windows VMs or is the name a misnomer and has nothing to do with Windows? Edited September 30, 20187 yr by daemon_of_chaos
September 30, 20187 yr 5 minutes ago, daemon_of_chaos said: Do I really need this file if I don't plan to run Windows VMs or is the name a misnomer and has nothing to do with Windows? If you don't plan on running any VM, then just disable the service 6 minutes ago, daemon_of_chaos said: I do not have that option. My only options are whether to enable and what libvirt image to use via a dropdown. There is no place to specify the location of that image file. Even after I click Download for that image, You need to stop the service and switch to advanced view. But, once again if you're not running any VMs then simply disable the service altogether.
September 30, 20187 yr 3 minutes ago, Squid said: Then change the entry to be /mnt/user/system/libvirt.img That did it. Thank you for the assistance. 🙂
October 5, 20187 yr I'm running into this issue now. Quote Libvirt Service failed to start. Quote Oct 4 20:34:09 SwiftServer emhttpd: shcmd (660): /usr/local/sbin/mount_image '/mnt/user0/system/libvirt/libvirt.img' /etc/libvirt 10 Oct 4 20:34:09 SwiftServer root: truncate: cannot open '/mnt/disk20/system/libvirt/libvirt.img' for writing: No such file or directory Oct 4 20:34:09 SwiftServer root: mount: /etc/libvirt: failed to setup loop device for /mnt/disk20/system/libvirt/libvirt.img. Oct 4 20:34:09 SwiftServer root: mount error Oct 4 20:34:09 SwiftServer emhttpd: shcmd (660): exit status: 1 Oct 4 20:34:09 SwiftServer emhttpd: nothing to sync Oct 4 20:35:07 SwiftServer ool www[8584]: /usr/local/emhttp/plugins/dynamix/scripts/emhttpd_update Oct 4 20:35:07 SwiftServer emhttpd: req (2): cmdStatus=apply&csrf_token=**************** Oct 4 20:35:07 SwiftServer emhttpd: Starting services... Oct 4 20:35:38 SwiftServer ool www[8871]: /usr/local/emhttp/plugins/dynamix/scripts/emhttpd_update Oct 4 20:35:38 SwiftServer emhttpd: req (3): cmdStatus=apply&csrf_token=**************** Oct 4 20:35:38 SwiftServer emhttpd: Starting services... Oct 4 20:35:38 SwiftServer emhttpd: shcmd (694): /usr/local/sbin/mount_image '/mnt/user0/system/libvirt/libvirt.img' /etc/libvirt 10 Oct 4 20:35:38 SwiftServer root: truncate: cannot open '/mnt/disk20/system/libvirt/libvirt.img' for writing: No such file or directory Oct 4 20:35:38 SwiftServer root: mount: /etc/libvirt: failed to setup loop device for /mnt/disk20/system/libvirt/libvirt.img. Oct 4 20:35:38 SwiftServer root: mount error Oct 4 20:35:38 SwiftServer emhttpd: shcmd (694): exit status: 1 Obviously getting a Mount Error. Any Ideas?
October 5, 20187 yr 3 hours ago, nexusjosh said: Any Ideas? 3 hours ago, nexusjosh said: cannot open '/mnt/disk20/system/libvirt/libvirt.img' for writing: No such file or directory It might be related to you using user0 for the path, specify the correct location /mnt/cache or /mnt/diskX Edited October 5, 20187 yr by johnnie.black
October 5, 20187 yr Quote Oct 5 00:07:33 Tower emhttpd: shcmd (1750): /usr/local/sbin/mount_image '/mnt/user/system/libvirt/libvirt.img' /etc/libvirt 1 Oct 5 00:07:33 Tower root: mount: /etc/libvirt: wrong fs type, bad option, bad superblock on /dev/loop3, missing codepage or helper program, or other error. Oct 5 00:07:33 Tower root: mount error Oct 5 00:07:33 Tower emhttpd: shcmd (1750): exit status: 1 Oct 5 00:07:33 Tower emhttpd: Starting services... Oct 5 00:07:33 Tower emhttpd: shcmd (1771): /usr/local/sbin/mount_image '/mnt/user/system/libvirt/libvirt.img' /etc/libvirt 1 Oct 5 00:07:33 Tower root: mount: /etc/libvirt: wrong fs type, bad option, bad superblock on /dev/loop3, missing codepage or helper program, or other error. Oct 5 00:07:33 Tower root: mount error Oct 5 00:07:33 Tower emhttpd: shcmd (1771): exit status: 1 Oct 5 00:07:33 Tower emhttpd: nothing to sync Oct 5 00:07:57 Tower emhttpd: req (8): shareNameOrig=isos&shareName=isos&shareComment=&shareAllocator=highwater&shareFloor=0&shareSplitLevel=&shareInclude=&shareExclude=&shareUseCache=no&confirmDelete=on&cmdEditShare=Delete&csrf_token=**************** Oct 5 00:07:57 Tower emhttpd: shcmd (1773): rmdir '/mnt/user/isos' Oct 5 00:07:57 Tower emhttpd: shcmd (1774): rm '/boot/config/shares/isos.cfg' Oct 5 00:07:57 Tower emhttpd: Starting services... Oct 5 00:07:57 Tower emhttpd: shcmd (1776): chmod 0777 '/mnt/user/domains' Oct 5 00:07:57 Tower emhttpd: shcmd (1777): chown 'nobody':'users' '/mnt/user/domains' Oct 5 00:07:57 Tower emhttpd: shcmd (1797): /usr/local/sbin/mount_image '/mnt/user/system/libvirt/libvirt.img' /etc/libvirt 1 Oct 5 00:07:58 Tower root: mount: /etc/libvirt: wrong fs type, bad option, bad superblock on /dev/loop3, missing codepage or helper program, or other error. Oct 5 00:07:58 Tower root: mount error Oct 5 00:07:58 Tower emhttpd: shcmd (1797): exit status: 1 Oct 5 00:07:58 Tower emhttpd: Starting services... Oct 5 00:07:58 Tower emhttpd: shcmd (1818): /usr/local/sbin/mount_image '/mnt/user/system/libvirt/libvirt.img' /etc/libvirt 1 Oct 5 00:07:58 Tower root: mount: /etc/libvirt: wrong fs type, bad option, bad superblock on /dev/loop3, missing codepage or helper program, or other error. Oct 5 00:07:58 Tower root: mount error Oct 5 00:07:58 Tower emhttpd: shcmd (1818): exit status: 1 Oct 5 00:08:06 Tower emhttpd: req (9): shareNameOrig=isos&shareName=isos&shareComment=&shareAllocator=highwater&shareFloor=0&shareSplitLevel=&shareInclude=&shareExclude=&shareUseCache=no&confirmDelete=on&cmdEditShare=Delete&csrf_token=**************** Oct 5 00:08:06 Tower emhttpd: shcmd (1819): rmdir '/mnt/user/isos' Oct 5 00:08:06 Tower emhttpd: shcmd (1820): rm '/boot/config/shares/isos.cfg' Oct 5 00:08:06 Tower emhttpd: Starting services... Oct 5 00:08:06 Tower emhttpd: shcmd (1841): /usr/local/sbin/mount_image '/mnt/user/system/libvirt/libvirt.img' /etc/libvirt 1 Oct 5 00:08:06 Tower root: mount: /etc/libvirt: wrong fs type, bad option, bad superblock on /dev/loop3, missing codepage or helper program, or other error. Oct 5 00:08:06 Tower root: mount error Oct 5 00:08:06 Tower emhttpd: shcmd (1841): exit status: 1 Oct 5 00:08:06 Tower emhttpd: Starting services... Oct 5 00:08:06 Tower emhttpd: shcmd (1862): /usr/local/sbin/mount_image '/mnt/user/system/libvirt/libvirt.img' /etc/libvirt 1 Oct 5 00:08:06 Tower root: mount: /etc/libvirt: wrong fs type, bad option, bad superblock on /dev/loop3, missing codepage or helper program, or other error. Oct 5 00:08:06 Tower root: mount error Oct 5 00:08:06 Tower emhttpd: shcmd (1862): exit status: 1 Oct 5 00:08:20 Tower ool www[7575]: /usr/local/emhttp/plugins/dynamix/scripts/notify 'cron-init' Oct 5 03:09:43 Tower ool www[3102]: /usr/local/emhttp/plugins/dynamix/scripts/emhttpd_update Oct 5 03:09:43 Tower emhttpd: req (10): cmdStatus=apply&csrf_token=**************** Oct 5 03:09:43 Tower emhttpd: Starting services... Oct 5 03:09:43 Tower emhttpd: shcmd (2227): chmod 0777 '/mnt/user/isos' Oct 5 03:09:43 Tower emhttpd: shcmd (2228): chown 'nobody':'users' '/mnt/user/isos' Oct 5 03:10:21 Tower ool www[6564]: /usr/local/emhttp/plugins/dynamix/scripts/emhttpd_update Oct 5 03:10:21 Tower emhttpd: req (11): cmdStatus=apply&csrf_token=**************** Oct 5 03:10:21 Tower emhttpd: Starting services... Oct 5 03:10:26 Tower ool www[6564]: /usr/local/emhttp/plugins/dynamix/scripts/emhttpd_update Oct 5 03:10:26 Tower emhttpd: req (12): cmdStatus=apply&csrf_token=**************** Oct 5 03:10:26 Tower emhttpd: Starting services... Oct 5 03:10:26 Tower emhttpd: shcmd (2270): /usr/local/sbin/mount_image '/mnt/user/system/libvirt/libvirt.img' /etc/libvirt 1 Oct 5 03:10:26 Tower root: mount: /etc/libvirt: wrong fs type, bad option, bad superblock on /dev/loop3, missing codepage or helper program, or other error. Oct 5 03:10:26 Tower root: mount error Oct 5 03:10:26 Tower emhttpd: shcmd (2270): exit status: 1 Continuing to troubleshoot. I reinstalled the OS. Didn't help. I think it might just be best to rebuild the Shares? Quote Oct 5 03:10:26 Tower root: mount: /etc/libvirt: wrong fs type, bad option, bad superblock on /dev/loop3, missing codepage or helper program, or other error. Oct 5 03:10:26 Tower root: mount error According to that, something is horribly wrong.
October 5, 20187 yr 10 minutes ago, nexusjosh said: Continuing to troubleshoot. I reinstalled the OS. Didn't help. I think it might just be best to rebuild the Shares? According to that, something is horribly wrong. That's a corrupt or invalid libvirt.img, restore form a backup or create a new image.
October 5, 20187 yr Just now, johnnie.black said: That's a corrupt or invalid libvirt.img, restore form a backup or create a new image. I've deleted it, and tried to re-create it a dozen times. I can easily rebuild my VM's. How I've done it, is Settings -> VM Manager -> Libvirt storage location -> Delete Image File But doing that has made no difference.
October 5, 20187 yr 3 minutes ago, nexusjosh said: I've deleted it, and tried to re-create it a dozen times. I can easily rebuild my VM's. How I've done it, is Settings -> VM Manager -> Libvirt storage location -> Delete Image File But doing that has made no difference. Like I suggested earlier try: 2 hours ago, johnnie.black said: specify the correct location /mnt/cache or /mnt/diskX If it still doesn't work post your diagnostics: Tools -> Diagnostics
October 5, 20187 yr 19 minutes ago, johnnie.black said: Like I suggested earlier try: If it still doesn't work post your diagnostics: Tools -> Diagnostics I doubt that'll work, because I nuked my nuked my shares, in an attempt to just get VM's working, and go from there. I'm still getting "Libvirt Service failed to start." even after making all custom directories in my VM Directory custom share. For some reason it doesn't seem to be generating the Libvirt file. And/or when it is, its corrupted? I'm currently generating my diagnostics file. I'll reply/edit this post when its generated, and I've uploaded it to Google Drive.
October 5, 20187 yr The storage location value is wrong. It needs to include the name of the actual file, not just the folder that contains it.
October 5, 20187 yr 3 minutes ago, itimpi said: The storage location value is wrong. It needs to include the name of the actual file, not just the folder that contains it. Aha! It works now. Thanks! And thanks everyone, I'm very much new to UnRaid. But so far I love it! Can't wait until my 10TB Parity Drive comes in. Edited October 5, 20187 yr by nexusjosh
July 11, 20196 yr Hello, I know that this thread is a bit old but I didn't want to create a new one. I have similar problem, doesn't even try to create a libvirt.img file and the path in Settings->VM-Manager-> is /mnt/user/system/libvirt/libvirt.img I cannot see anything in syslog when I enable or disable the VMs Can anyone help? Thank you in advance. I have attached the diagnostics files. cup-micronas-diagnostics-20190711-1118.zip
July 11, 20196 yr 10 minutes ago, ngick said: Hello, I know that this thread is a bit old but I didn't want to create a new one. I have similar problem, doesn't even try to create a libvirt.img file and the path in Settings->VM-Manager-> is /mnt/user/system/libvirt/libvirt.img I cannot see anything in syslog when I enable or disable the VMs Can anyone help? Thank you in advance. I have attached the diagnostics files. cup-micronas-diagnostics-20190711-1118.zip 79.06 kB · 0 downloads Settings -> VM Manger -> Default ISO storage path: Set a valid path.
July 11, 20196 yr Thank you very much Johnie.black that solved it!!!! Sorry for the trouble, I didn't see this setting... Thank you again!!!
September 6, 20196 yr I'm trying to setup VM for the first time and cannot find the libvirt file. Do I need to download that somewhere? I didn't see that step in the wiki. thanks, david
September 6, 20196 yr 12 minutes ago, lovingHDTV said: I'm trying to setup VM for the first time and cannot find the libvirt file. Do I need to download that somewhere? I didn't see that step in the wiki. thanks, david The file is created when you enable VMs under Settings->VM Manager and the path to that file is also set there.
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.