Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/docker/10.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Vagrant Stderr:VBoxManage.exe:错误:VT-x不可用(VERR_VMX_NO_VMX)_Vagrant_Winrm - Fatal编程技术网

Vagrant Stderr:VBoxManage.exe:错误:VT-x不可用(VERR_VMX_NO_VMX)

Vagrant Stderr:VBoxManage.exe:错误:VT-x不可用(VERR_VMX_NO_VMX),vagrant,winrm,Vagrant,Winrm,当我尝试“漫游”win-2012r2-standard-amd64-nocm box时,我遇到了上述问题。我也遇到了这个问题,并找到了这篇文章:(如果它对您有帮助的话) 我尝试关闭VT-x: PS C:\Program Files\Oracle\VirtualBox>\VBoxManage.exe modifyvm 0150\u default\u 1465225816011\u 20737--paravirtprovider off--hwvirtex off (长模式似乎并不重要) 但后来我

当我尝试“漫游”win-2012r2-standard-amd64-nocm box时,我遇到了上述问题。我也遇到了这个问题,并找到了这篇文章:(如果它对您有帮助的话)

我尝试关闭VT-x:

PS C:\Program Files\Oracle\VirtualBox>\VBoxManage.exe modifyvm 0150\u default\u 1465225816011\u 20737--paravirtprovider off--hwvirtex off

(长模式似乎并不重要)

但后来我遇到了这个问题:

从根本上说,虚拟机启动64位系统,如果关闭VT-x,虚拟机将无法以64位启动


最终的结果是我需要卸载(而不仅仅是禁用)Hyper-V。 事实证明Hyper-V禁用了VT-x(如果您进行任何android开发,您都会遇到这种情况。听起来windows/Hyper-V的最新版本甚至无法禁用,它们必须完全安装

此选项可在中找到

程序和功能>打开或关闭Windows功能

更多信息:

在我的情况下,在我取消选中“控制面板”中“打开或关闭Windows功能”部分下的Hyper-V框/复选框并重新启动机器后,运行“vagrant up”仍然向我发送相同的错误消息。有什么想法吗!谢谢。抱歉,我相信你现在已经解决了这个问题,但如果你在Windows 10中没有@ArunSangal=>的话,你必须完全卸载Hyper-V,以使它停止拦截VT-x请求并返回“false”你不能把它关掉。希望能有帮助……没错,我也必须这么做。
 PS C:\vagrant_projects> vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Checking if box 'opentable/win-2012r2-standard-amd64-nocm' is up to date...
==> default: Clearing any previously set forwarded ports...
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
   default: Adapter 1: nat
==> default: Forwarding ports...
   default: 5985 (guest) => 55985 (host) (adapter 1)
   default: 5986 (guest) => 55986 (host) (adapter 1)
==> default: Running 'pre-boot' VM customizations...
==> default: Booting VM...
There was an error while executing `VBoxManage`, a CLI used by Vagrant
for controlling VirtualBox. The command and stderr is shown below.

Command: ["startvm", "efff1950-9700-4fbf-8ab8-7a8ed3f31740", "--type", "headless"]

Stderr: VBoxManage.exe: error: VT-x is not available (VERR_VMX_NO_VMX)
VBoxManage.exe: error: Details: code E_FAIL (0x80004005), component ConsoleWrap, interface IConsole