Validate_lab_launch not working on virtual box

Hi ,

I have used Oracle Virtual box , cent os How I can use

validate_lab_launch_mongod

[root@localhost ~]# validate_lab_launch_mongod
bash: validate_lab_launch_mongod: command not found…

Getting on above error

[root@localhost ~]# cat /etc/redhat-release
CentOS Linux release 7.6.1810 (Core)

You have to run validate scripts on vagrant box
Looks like you ran it on your host machine

vagrant@m103:/var/m103/validation$ ls -lrt validate_lab_launch_mongod
-rwxr-xr-x 1 502 staff 5396138 Mar 5 2018 validate_lab_launch_mongod

1 - I have Centos 7 on my Virtual box
2 - Download the vagrant vagrant_2.2.4_x86_64.rpm and install
3 - Copy files the m103-vagrant-env to my /root/univercity/M103/m103-vagrant-env

vagrant up --provision is showing below error

No usable default provider could be found for your system.

Vagrant relies on interactions with 3rd party systems, known as
“providers”, to provide Vagrant with resources to run development
environments. Examples are VirtualBox, VMware, Hyper-V.

The easiest solution to this message is to install VirtualBox, which
is available for free on all major platforms.

If you believe you already have a provider available, make sure it
is properly installed and configured. You can see more details about
why a particular provider isn’t working by forcing usage with
vagrant up --provider=PROVIDER, which should give you a more specific
error message for that particular provider.

Now I have install virtualbox on my virtual host centos 7 getting below error
indent preformatted text by 4 spaces
[root@localhost m103-vagrant-env]# virtualbox --version
WARNING: The vboxdrv kernel module is not loaded. Either there is no module
available for the current kernel (3.10.0-957.el7.x86_64) or it failed to
load. Please recompile the kernel module and install it by

       sudo /sbin/vboxconfig

     You will not be able to start VMs until this problem is fixed.

Qt FATAL: QXcbConnection: Could not connect to display
Aborted (core dumped)

My Setup is like below

Main Host Windows 10 — > on Virtualbox (centos 7) —> Install Virtualbox for Vagrant (giving error of kernal)

Is Above Scenario Possible ?

Hi @ankur02018,

I would recommend you to install Virtualbox and vagrant in windows 10 itself. It will eliminate space allocation problem for each VM and overall would be an easier approach.

Here you need to check if VirtualBox is installed by running the following command on terminal:

vboxmanage --version

Thanks,
Sonali