Macos 执行Vagrant up时引导VM时Mac上的Vagrant VBoxManage错误

Macos 执行Vagrant up时引导VM时Mac上的Vagrant VBoxManage错误,macos,ubuntu,vagrant,virtualbox,Macos,Ubuntu,Vagrant,Virtualbox,每次我在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"

每次我在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,但没有任何效果。

经过这么长时间后,我终于找到了答案:

在Mac上,确保安全设置正确。 要检查,请转到
安全性
输入监控
>“接受VirtualBox”。然后转到可访问性
>“接受AEServer”和“VirtualBox”。 然后重新装上你的流浪机器,一切都会好起来的