关于如何在 Windows 上使用 VirtualBox 和 Vagrant 构建 Ubuntu 虚拟环境
About how to build Ubuntu virtual environment using VirtualBox and Vagrant on Windows
我正在使用 VirtualBox 和 Vagrant 在 Windows 10.
上构建 Ubuntu 虚拟环境
当我使用 Windows PowerShell 执行 "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", "063b8a06-75ba-46cd-a729-703faf0d4de2", "--type",
"headless"]
Stderr: VBoxManage.exe: error: The virtual machine
'ubuntu64_default_1491745500976_24277' has terminated unexpectedly
during startup with exit code 1 (0x1). More details may be available
in 'C:\Users\(username)\VirtualBox
VMs\ubuntu64_default_1491745500976_24277\Logs\VBoxHardening.log'
VBoxManage.exe: error: Details: code E_FAIL (0x80004005), component
MachineWrap, interface IMachine
直到几个月前,我才能够毫无问题地使用 VirtualBox 和 Vagrant。
但是,这次却出现了上面的错误。
不知道是Windows左右更新的原因还是什么原因
卸载 VirtualBox 和 Vagrant 并尝试其他版本没有解决问题。
有谁知道怎么解决吗?
这是错误语句中显示的详细日志。
https://github.com/pekochun/git-study/blob/master/VBoxHardening.log
查看日志,致命一击看起来是:
1518.1be0: Error -104 in supR3HardenedWinReSpawn! (enmWhat=5)
1518.1be0: Error relaunching VirtualBox VM process: 5
现在 google fu 将我带到 https://forums.virtualbox.org/viewtopic.php?f=6&t=82277 和相关帖子,表明这个问题可能会在第一次重启后发生。
由于错误 -104
看起来像是 VERR_INVALID_NAME
,我建议按照这些说明进行操作。除此之外,它可能最好使用 virtualbox 论坛。
我正在使用 VirtualBox 和 Vagrant 在 Windows 10.
上构建 Ubuntu 虚拟环境当我使用 Windows PowerShell 执行 "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", "063b8a06-75ba-46cd-a729-703faf0d4de2", "--type", "headless"]
Stderr: VBoxManage.exe: error: The virtual machine 'ubuntu64_default_1491745500976_24277' has terminated unexpectedly during startup with exit code 1 (0x1). More details may be available in 'C:\Users\(username)\VirtualBox VMs\ubuntu64_default_1491745500976_24277\Logs\VBoxHardening.log' VBoxManage.exe: error: Details: code E_FAIL (0x80004005), component MachineWrap, interface IMachine
直到几个月前,我才能够毫无问题地使用 VirtualBox 和 Vagrant。
但是,这次却出现了上面的错误。
不知道是Windows左右更新的原因还是什么原因
卸载 VirtualBox 和 Vagrant 并尝试其他版本没有解决问题。
有谁知道怎么解决吗?
这是错误语句中显示的详细日志。
https://github.com/pekochun/git-study/blob/master/VBoxHardening.log
查看日志,致命一击看起来是:
1518.1be0: Error -104 in supR3HardenedWinReSpawn! (enmWhat=5)
1518.1be0: Error relaunching VirtualBox VM process: 5
现在 google fu 将我带到 https://forums.virtualbox.org/viewtopic.php?f=6&t=82277 和相关帖子,表明这个问题可能会在第一次重启后发生。
由于错误 -104
看起来像是 VERR_INVALID_NAME
,我建议按照这些说明进行操作。除此之外,它可能最好使用 virtualbox 论坛。