每次我在Mac上执行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", "f0d41d96-6687-451e-b682-1ec409013b15", "--type", "headless"]
Stderr: VBoxManage: error: The virtual machine 'Block2Sem2_default_1619613054845_45024' has terminated unexpectedly during startup with exit code 1 (0x1)
VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component MachineWrap, interface IMachine
我尝试重新安装Vagrant和VirtualBox,但都不起作用。
发布于 2021-04-28 22:14:15
所以经过这么长时间,我终于弄明白了:
在Mac上,请确保您的安全设置设置正确。要进行检查,请转到Security
> Input-Monitoring
> "Accept VirtualBox“。然后转到Accessibility
> "Accept AEServer“和"VirtualBox”。然后重新加载你的流浪汉机器,一切都应该正常工作。
发布于 2021-11-03 23:56:20
当我尝试在我的was命令上运行'vagrant up‘时,我遇到了同样的错误,下面是我所做的:
点击:系统偏好设置>安全和隐私>解锁安全和隐私>选择允许访问甲骨文VirtualBox >接受提示重新启动Mac >重新启动后,返回到您的终端>重新运行'vagrant up‘。
希望这对你有帮助。
https://stackoverflow.com/questions/67300413
复制相似问题