Vagrant up provision

getting this error. I’m not able to connect virtual box is installed.

vagrant up --provision
Bringing machine ‘mongod-m103’ up with ‘virtualbox’ provider…
==> mongod-m103: Clearing any previously set forwarded ports…
==> mongod-m103: Clearing any previously set network interfaces…
==> mongod-m103: Preparing network interfaces based on configuration…
mongod-m103: Adapter 1: nat
mongod-m103: Adapter 2: hostonly
==> mongod-m103: Forwarding ports…
mongod-m103: 22 (guest) => 2222 (host) (adapter 1)
==> mongod-m103: Running ‘pre-boot’ VM customizations…
==> mongod-m103: 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”, “b20815b3-6b9c-47dd-88bd-8243b24fdccf”, “–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

Hi @Shweta_62421,

The error says VT-x is not available.

Please refer this post and make sure you have enabled virtualization in BIOS and also disable the Hyper-v.

Hope it helps!

Thanks,
Shubham Ranjan
Curriculum Support Engineer

that post is related to Windows. I’m using centOS 6.

Hi @Shweta_62421,

Please have a look at these posts, may be it can help.

CentOS 5 Virtualization Guide

Hope it helps!

Thanks,
Shubham Ranjan
Curriculum Support Engineer

@Shweta_62421

Check the screen shot attached. it may help you.

enable VT-x at VM workstation .error