Hi everyone,
Have a bit of an oddity here. Running OMV4, and VirtualBox Plugin 4.1.2 ...
Was playing around last night, adding Docker Plex and all of a sudden after a reboot OMV decided that it couldn't talk to the phpVirtualBox web interface.
(Have also been reconfiguring quite a bit, removing a snapraid setup I didn't fully trust in favor of an md raid array for some files that change too often/near continuously, setting up system backups, making netatalk shares for backing up some macs, etc... all the usual things on a relatively new system.)
Same thing with the phpVirtualbox web interface directly -- it accepts a login and then says it can't talk to vboxwebsrv.
Meanwhile the virtual machine *IS* running normally and starts after boot.
Found an ancient thread here that talked about how to purge all of the VirtualBox packages, delete leftover directories for cache and such, reboot and reinstall... wasn't for OMV4 I don't think, but with a Debian background, nothing seemed too destructive or dangerous. At least with good packages...)
Same problem but not during this particular "initial" install. Right at initial install one can access the phpVirtualBox interface and in my case, re-import/set up the one VM I have in OMV/VirtualBox.
Reboot, suddenly the web server isn't on speaking terms with OMV again. Ha.
Tech specs: OMV 4, installed on top of Debian Stretch, with backports on (that last part may have been a mistake with OMV? Not sure.)
Long time Linux admin here, but don't know the architecture of OMV very well. Not even completely sure where OMV hides is logs for things it starts up, etc. /var/log/openmediavault is empty -- that's annoying... standard locations are nice for things in *nix. This "feels" like OMV is somehow confused about the state of the VirtualBox setup it created, but not quite sure why. Dug around more and found the daemon log...
Last thing in it this morning when I rebooted and the VirtualBox machine came up but OMV and the phpVirtualBox can't display it is this:
Nov 21 05:16:34 tank systemd[1]: virtualbox-web.service: Main process exited, code=exited, status=1/FAILURE
Nov 21 05:16:34 tank systemd[1]: virtualbox-web.service: Unit entered failed state.
Nov 21 05:16:34 tank systemd[1]: virtualbox-web.service: Failed with result 'exit-code'.
Nov 21 05:16:34 tank phpvirtualbox-manage-vms[657]: VBoxManage: error: Failed to create the VirtualBox object!
Nov 21 05:16:34 tank phpvirtualbox-manage-vms[657]: VBoxManage: error: Code NS_BASE_STREAM_WOULD_BLOCK (0x80470007) - Stream operation would block (extended info not available)
Nov 21 05:16:34 tank phpvirtualbox-manage-vms[657]: VBoxManage: error: Most likely, the VirtualBox COM server is not running or failed to start.
Nov 21 05:16:34 tank phpvirtualbox-manage-vms[657]: VBoxManage: error: Could not find a registered machine named 'exist.'
Nov 21 05:16:34 tank phpvirtualbox-manage-vms[657]: VBoxManage: error: Details: code VBOX_E_OBJECT_NOT_FOUND (0x80bb0001), component VirtualBoxWrap, interface IVirtualBox, callee nsISupports
Nov 21 05:16:34 tank phpvirtualbox-manage-vms[657]: VBoxManage: error: Context: "FindMachine(Bstr(a->argv[0]).raw(), machine.asOutParam())" at line 748 of file VBoxManageMisc.cpp
Nov 21 05:16:34 tank phpvirtualbox-manage-vms[657]: VBoxManage: error: Could not find a registered machine named 'appropriate'
Nov 21 05:16:34 tank phpvirtualbox-manage-vms[657]: VBoxManage: error: Details: code VBOX_E_OBJECT_NOT_FOUND (0x80bb0001), component VirtualBoxWrap, interface IVirtualBox, callee nsISupports
Nov 21 05:16:34 tank phpvirtualbox-manage-vms[657]: VBoxManage: error: Context: "FindMachine(Bstr(a->argv[0]).raw(), machine.asOutParam())" at line 748 of file VBoxManageMisc.cpp
Nov 21 05:16:34 tank phpvirtualbox-manage-vms[657]: VBoxManage: error: Could not find a registered machine named 'linux-headers-amd64.'
Nov 21 05:16:34 tank phpvirtualbox-manage-vms[657]: VBoxManage: error: Details: code VBOX_E_OBJECT_NOT_FOUND (0x80bb0001), component VirtualBoxWrap, interface IVirtualBox, callee nsISupports
Nov 21 05:16:34 tank phpvirtualbox-manage-vms[657]: VBoxManage: error: Context: "FindMachine(Bstr(a->argv[0]).raw(), machine.asOutParam())" at line 748 of file VBoxManageMisc.cpp
Nov 21 05:16:34 tank phpvirtualbox-manage-vms[657]: VBoxManage: error: Could not find a registered machine named 'fixed.'
Nov 21 05:16:34 tank phpvirtualbox-manage-vms[657]: VBoxManage: error: Details: code VBOX_E_OBJECT_NOT_FOUND (0x80bb0001), component VirtualBoxWrap, interface IVirtualBox, callee nsISupports
Nov 21 05:16:34 tank phpvirtualbox-manage-vms[657]: VBoxManage: error: Context: "FindMachine(Bstr(a->argv[0]).raw(), machine.asOutParam())" at line 748 of file VBoxManageMisc.cpp
Nov 21 05:16:34 tank systemd[1]: Started PhpVirtualBox - start and save machines on boot and shutdown for user vbox.
Alles anzeigen
Hints/tips on how to debug this one, appreciated!