【发布时间】:2016-07-27 06:15:11
【问题描述】:
我在尝试使用 Vagrant 作为驱动程序运行厨房测试时遇到了关闭 VM 的 Virtualbox。
我按照“VBoxManage: error: Failed to create the host-only adapter”中的说明重新启动了 Virtualbox。
我该如何进一步解决这个问题?
- VirtualBox 版本:5.0.14r105127
- 厨房版本:1.6.0
- 流浪者 1.7.3
- 主厨客户端版本:12.8.1
这是错误:
Message: Failed to complete #destroy action: [Expected process to exit with [0], but received '1'
---- Begin output of vagrant destroy -f ----
STDOUT: ==> default: Forcing shutdown of VM...
STDERR: There was an error while executing `VBoxManage`, a CLI used by Vagrant
for controlling VirtualBox. The command and stderr is shown below.
Command: ["controlvm", "3fa0e654-df44-4050-809f-2d1474b74a8f", "poweroff"]
Stderr: 0%...10%...20%...30%...40%...50%...
Progress state: NS_ERROR_FAILURE
VBoxManage: error: Failed to power off machine
VBoxManage: error: The VM session was aborted
VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component SessionMachine, interface ISession
VBoxManage: error: Context: "RTEXITCODE handleControlVM(HandlerArg*)" at line 234 of file VBoxManageControlVM.cpp
---- End output of vagrant destroy -f ----
Ran vagrant destroy -f returned 1]
【问题讨论】:
-
主机是什么操作系统?
-
@coderanger 我在 OS X el Capitan (10.11.4) 上并尝试启动 ubuntu
标签: chef-infra virtual-machine virtualbox development-environment