VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005) with meanjs and vagrant

6

I am trying to run mean.js project based on vagrant , but I get the following error with the vagrant up command on ubuntu 14.04 LTS 64 bit.

        There was an error while executing `VBoxManage`, a CLI used by Vagrant
        for controlling VirtualBox. The command and stderr is shown below.

        Command: ["startvm", "d660b7d6-06a3-49bc-8b90-cbad92632c11", "--type", "headless"]

        Stderr: VBoxManage: error: The virtual machine 'pets_default_1473142645576_38190' has terminated unexpectedly during startup with exit code 1 (0x1)
        VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component MachineWrap, interface IMachine

Please help me to solve the issue.

node.js
vagrant
ubuntu-14.04
virtualbox
meanjs

4 Answers

7

I solved the using following Steps :

I have completely remove older VirtualBox versions before installing VirtualBox-5.0 !

  1. Uninstall VirtualBox

    sudo apt-get purge "^virtualbox-.*"
    
  2. Update the software repositories

    sudo apt-get update
    
  3. Clean up

    sudo apt-get autoremove | sudo apt-get autoclean | sudo apt-get clean 
    
  4. Setup API repository (For Ubuntu 14.04 ("Trusty"))

    echo "deb http://download.virtualbox.org/virtualbox/debian trusty contrib" | sudo tee /etc/apt/sources.list.d/oracle-vbox.list
    
  5. Setup Oracle Key

    wget -q https://www.virtualbox.org/download/oracle_vbox_2016.asc -O- | sudo apt-key add -
    wget -q https://www.virtualbox.org/download/oracle_vbox.asc -O- | sudo apt-key add -
    

    6.Install Oracle Virtualbox

    sudo apt-get update
    sudo apt-get install virtualbox-5.1
    Start Virtualbox
    virtualbox
    

For more help check to here.

Hope this will Help to other.

answered on Stack Overflow Sep 7, 2016 by Santosh Shinde • edited Jan 30, 2017 by Santosh Shinde
2

Hi I have reinstalled virtual box and the issue has been solved for me.

On my mac while installing virtual box, It has not allowed me to install. So i went system preference -> security & privacy - > general - 'allow apps download from' -> click on the "allow" button.

I have successfully installed virtual box after the above changes on system preference.

Kitchen converge -> successfully done.

answered on Stack Overflow Oct 13, 2020 by venkatarao nersu
1

I also faced the same issue, but Santosh Shinde's answer helped me to figure it out.

I, however, want to add to it:

After uninstalling every old/previous version of Virtualbox available on your PC:

sudo apt-get purge "^virtualbox-.*"

And cleaning your system:

sudo apt-get autoremove

Rather than installing Virtualbox from the Apt repository of Ubuntu, simply visit the downloads page of Virtualbox, to download the most current version of Virtualbox.

This is because the Apt repository may not have the latest version of Virtualbox.

That's all.

I hope this helps

answered on Stack Overflow Jan 28, 2020 by Promise Preston
0

For some reason my virtualbox linux host was having an outdated vboxdrv kernel module.

I did the whole remove VirtualBox package, then reinstall, but this old version kernel module remained.

Manually deleted the unwanted module, then freshly reinstalled latest VirtualBox, then usual vboxconfig to rebuild the latest modules, and we're done.

/usr/bin/vboxmanage startvm Win10-Server --type headless now working as expected. :-)

answered on Stack Overflow Dec 25, 2020 by bgroper • edited Dec 25, 2020 by Eric Aya

User contributions licensed under CC BY-SA 3.0