Skip to content

Instantly share code, notes, and snippets.

@leto
Created January 23, 2015 04:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save leto/18bf8c0172c0f42aa6ed to your computer and use it in GitHub Desktop.
Save leto/18bf8c0172c0f42aa6ed to your computer and use it in GitHub Desktop.
Vagrant destroy -f fails
$ vagrant destroy -f
==> prod: Droplet has not been created
==> local: Destroying VM and associated drives...
There was an error while executing `VBoxManage`, a CLI used by Vagrant
for controlling VirtualBox. The command and stderr is shown below.
Command: ["unregistervm", "9582fa8f-e2db-43ee-924d-cf1ae67c8cde", "--delete"]
Stderr: VBoxManage: error: Cannot unregister the machine 'api_local_1421950995066_55115' while it is locked
VBoxManage: error: Details: code VBOX_E_INVALID_OBJECT_STATE (0x80bb0007), component Machine, interface IMachine, callee nsISupports
VBoxManage: error: Context: "Unregister(CleanupMode_DetachAllReturnHardDisksOnly, ComSafeArrayAsOutParam(aMedia))" at line 158 of file VBoxManageMisc.cpp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment