<分区>
我正在使用 vagrant 设置 ubuntu 虚拟机。我已经安装了 virtualbox 和 vagrant。当我运行“vagrant up”时,我遇到了以下错误:
There was an error while executing `VBoxManage`, a CLI used by Vagrant
for controlling VirtualBox. The command and stderr is shown below.
Command: ["startvm", "268774c3-ac5e-4b96-b17e-99cc4c66b27f", "--type", "headless"]
Stderr: VBoxManage: error: The virtual machine 'profiles-rest-api_default_1536758322698_53584' has terminated unexpectedly during startup with exit code 1 (0x1)
VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component MachineWrap, interface IMachine
在进一步调查之后,我发现 VMbox 也不是从 GUI 启动的,并给出了以下错误:
Failed to open a session for the virtual machine profiles-rest-api.
The virtual machine 'profiles-rest-api' has terminated unexpectedly during startup with exit code 1 (0x1).
Result Code: NS_ERROR_FAILURE (0x80004005)
Component: MachineWrap
Interface: IMachine {85cd948e-a71f-4289-281e-0ca7ad48cd89}
当我尝试使用 brew cask install virtualbox 安装它时,我收到以下错误:
错误:执行失败; /usr/bin/sudo -E -- env LOGNAME=用户名 USER=用户名 USERNAME=用户名/usr/sbin/installer -pkg/usr/local/Caskroom/virtualbox/5.2.18,124319/VirtualBox.pkg - target/
以 1 退出