Importing appliances with old names lying around
A client for the remote use of VirtualBox on a server
Brought to you by:
ianchapman
When at host is VM running, the Remotebox does not open guest display and says that it is disabled but actually is not. When still trying to open guest display then at some point it shows the following error message:
VirtualBox Returned an Error VirtualBox error: rc=0x80004005
I forgot to say that at host is one VM running with one user but using Remotebox is working with different username and running another VM. For security reasons the login shell at host VBOXWEB_USER is set to /bin/false - would it be a problem?
Last edit: Edmund Laugasson 2016-01-02
The user's shell set to /bin/false shouldn't be a problem.
I see from the logs below that the address 3389 is already in use.
"VRDE: Warning: failed to launch VRDE server (VERR_NET_ADDRESS_IN_USE): 'VirtualBox Remote Desktop Extension server can't bind to the port: 3389'"
That means the display server can't bind to that port, even if you have it enabled. Try specifying a range of ports in the VM configuration under Display -> Remote Display -> Server Port:
3389-4389
Last edit: Ian Chapman 2016-02-04
Another moment - somehow Remotebox freezed and I had to end the process. Then reopening it there was one VM disappeared - that one what was running when I had to kill the process. It says:
The log file vboxwebservice.log is added for any case but it seems to be not much informative.
Also the last VBox.log from that VM is added (Estobuntu...), which was running when Remotebox freezed.
Last edit: Edmund Laugasson 2016-01-03
RemoteBox blocks on I/O from VirtualBox. In other words, it waits for a response and if one doesn't come it appears to have frozen. I can't tell from the logs what happended but if the web service was frozen in any way or killed, that would cause those symptoms
There is a problem when trying to import from same .ova file the new one. As old VM with same folde name exist then import does not work and Remotebox will freeze (cannot click or open anything). Then after long time awaiting suddenly there will be error message:
VirtualBox Returned an Error
Undefined error. See VirtualBox webservice logs
VirtualBox error: rc=0x80070005 The appliance is busy importing files (0x80bb0007)
If there could be a file manager then I could remotely remove old one and import new one.
There doesn't appear to be a way around this at the moment with the current VirtualBox API. The only solution is to manually delete it on the server before import.