Tag Archives: VBoxManage error

VBoxManage error: VT-x is not available (VERR_VMX_NO_VMX)

Problem description

yitian@ubuntu:~/auroraclone/aurora$ vagrant up
Bringing machine ‘devcluster’ up with ‘virtualbox’ provider…
==> devcluster: Box ‘apache-aurora/dev-environment’ could not be found. Attempting to find and install…
     devcluster: Box Provider: virtualbox
     devcluster: Box Version: 0.0.14
==> devcluster: Loading metadata for box ‘apache-aurora/dev-environment’
     devcluster: URL: https://vagrantcloud.com/apache-aurora/dev-environment
==> devcluster: Adding box ‘apache-aurora/dev-environment’ (v0.0.14) for provider: virtualbox
     devcluster: Downloading: https://vagrantcloud.com/apache-aurora/boxes/dev-environment/versions/0.0.14/providers/virtualbox.box
==> devcluster: Box download is resuming from prior download progress
     devcluster: Progress: 99% (Rate: 3239k/s, Estimated time remaining: –:–:–==> devcluster: Successfully added box ‘apache-aurora/dev-environment’ (v0.0.14) for ‘virtualbox’!
==> devcluster: Importing base box ‘apache-aurora/dev-environment’…
==> devcluster: Matching MAC address for NAT networking…
==> devcluster: Checking if box ‘apache-aurora/dev-environment’ is up to date…
==> devcluster: Setting the name of the VM: aurora_devcluster_1518401875602_20147
==> devcluster: Clearing any previously set forwarded ports…
Vagrant is currently configured to create VirtualBox synced folders with
the `SharedFoldersEnableSymlinksCreate` option enabled. If the Vagrant
guest is not trusted, you may want to disable this option. For more
information on this option, please refer to the VirtualBox manual:

  https://www.virtualbox.org/manual/ch04.html#sharedfolders

This option can be disabled globally with an environment variable:

  VAGRANT_DISABLE_VBOXSYMLINKCREATE=1

or on a per folder basis within the Vagrantfile:

  config.vm.synced_folder ‘/host/path’, ‘/guest/path’, SharedFoldersEnableSymlinksCreate: false
==> devcluster: Clearing any previously set network interfaces…
==> devcluster: Preparing network interfaces based on configuration…
     devcluster: Adapter 1: nat
     devcluster: Adapter 2: hostonly
==> devcluster: Forwarding ports…
     devcluster: 22 (guest) => 2222 (host) (adapter 1)
==> devcluster: Running ‘pre-boot’ VM customizations…
==> devcluster: 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”, “cb997990-9f9e-40c1-97f8-ca8ac7422288”, “–type”, “headless”]

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

Issue inspection

yitian@ubuntu:~/auroraclone/aurora$ sudo apt-get install cpu-checker

yitian@ubuntu:~/auroraclone/aurora$ sudo kvm-ok
INFO: Your CPU does not support KVM extensions
KVM acceleration can NOT be used


When using vagrant Stderr: VBoxManage: error: VT-x is not available (VERR_VMX_NO_VMX)(important)Vagrant Up VT-X not available