docker-archive / toolbox

The Docker Toolbox
https://docker.com/toolbox
3.21k stars 1.23k forks source link

Upgrading VirtualBox causes instability #393

Open SvenDowideit opened 8 years ago

SvenDowideit commented 8 years ago

I'm going to reboot, but things went boom

C:\Users\sven>docker-machine ls
NAME      ACTIVE   URL          STATE     URL   SWARM   DOCKER    ERRORS
default   -        virtualbox   Stopped                 Unknown

C:\Users\sven>docker-machine start
Starting "default"...
Error setting up host only network on machine start: C:\Program Files\Oracle\VirtualBox\VBoxManage.exe modifyvm de
fault --nic2 hostonly --nictype2 82540EM --nicpromisc2 deny --hostonlyadapter2 VirtualBox Host-Only Ethernet Adapt
er --cableconnected2 on failed:
VBoxManage.exe: error: An unexpected process (PID=0x000013E0) has tried to lock the machine 'default', while only
the process started by LaunchVMProcess (PID=0x0000303C) is allowed
VBoxManage.exe: error: Details: code E_ACCESSDENIED (0x80070005), component MachineWrap, interface IMachine, calle
e IUnknown
VBoxManage.exe: error: Context: "LockMachine(a->session, LockType_Write)" at line 493 of file VBoxManageModifyVM.c
pp

C:\Users\sven>sc query vboxdrv
[SC] EnumQueryServicesStatus:OpenService FAILED 1060:

The specified service does not exist as an installed service.
SvenDowideit commented 8 years ago

reinstalling toolbox didn't work - I ended up having to uninstall vbox and re-installing after that.

looks like the vboxdriver failed to be there dur to upgrading vbox 5.0.12 to 5.0.14 - very odd.

jmorganca commented 8 years ago

Re-labeled this as I've seen many cases where upgrading VirtualBox causes instability