Virtual box installation issue "Running VirtualBox in a Xen environment is not supported" in AWS ubuntu 14.04 instance

Sans picture Sans · Mar 18, 2015 · Viewed 10k times · Source

I have installed Virtual box 3.2 in AWS ubuntu 14.04 instance. But while it is not running because of the issue "Running VirtualBox in a Xen environment is not supported".

ubuntu@ip-172-31-20-204:~$ sudo /etc/init.d/vboxdrv setup
 * Stopping VirtualBox kernel modules                                                                           [ OK ]
 * Uninstalling old VirtualBox DKMS kernel modules                                                              [ OK ]
 * Trying to register the VirtualBox kernel modules using DKMS                                                  [ OK ]
 * Starting VirtualBox kernel modules
 * Running VirtualBox in a Xen environment is not supported

Anyone pls help me to overcome this. Ubuntu instance is mandatory for me so is there any way to remove Xen or use some other?(my primary aim is to setup a Spika server. For that vagrant with virtual box is mandatory).

Answer

Kazaag picture Kazaag · Mar 18, 2015

Amazon is using Xen as hypervisor (it provide virtual machines). Virtual box is doing the same and need access to the processor instructions and state that are already used by Xen, so your EC2 instance doesn't have access to it.

The Vagrant instruction is for the development set up on the dev machine not to be use in server set up.

You will need to follow the manual instruction to set up the server (http://www.spikaapp.com/en/build/server).