2015-01-27 12 views
6

Sto provando a configurare bosh-lite (per installare quindi cloudfoundry localmente) su una macchina server ubuntu (vagrante v1.6.3, Virtualbox 4.3.20r96996). La configurazione fallire quando vagabondo cerca di boot della macchina creata con il seguente errore:La macchina ospite Vagrant è entrata in uno stato non valido

$ cd bosh-lite 
$ vagrant up 
Bringing machine 'default' up with 'virtualbox' provider... 
==> default: Checking if box 'cloudfoundry/bosh-lite' is up to date... 
==> default: Clearing any previously set forwarded ports... 
==> default: Clearing any previously set network interfaces... 
==> default: Preparing network interfaces based on configuration... 
    default: Adapter 1: nat 
    default: Adapter 2: hostonly 
==> default: Forwarding ports... 
    default: 22 => 2222 (adapter 1) 
==> default: Running 'pre-boot' VM customizations... 
==> default: Booting VM... 
==> default: Waiting for machine to boot. This may take a few minutes... 

The guest machine entered an invalid state while waiting for it to boot. 
Valid states are 'starting, running'. The machine is in the 'poweroff' state. 
Please verify everything is configured properly and try again. 

If the provider you're using has a GUI that comes with it, it is often helpful to open that and watch the machine, since the GUI often has more helpful error messages than Vagrant can retrieve. 
For example, if you're using VirtualBox, run `vagrant up` while the VirtualBox GUI is open. 
+1

possibile duplicato di [Vagrant Up Error In Headless Ubuntu: la macchina ospite ha inserito uno stato non valido durante l'attesa per l'avvio] (http://stackoverflow.com/questions/19419563/vagrant-up-error-in-headless -ubuntu-the-guest-machine-inserted-an-invalid-state) – brezanac

+1

Sono su un server ubuntu (senza interfaccia grafica) quindi le soluzioni non funzioneranno per me :( – bachr

+0

Non importa se si utilizza la GUI o non puoi ancora manipolare il provider (in questo caso VirtualBox) tramite la riga di comando (shell). – brezanac

risposta

2

ho ottenuto questo errore dopo aver utilizzato vagrant up sul cmd dopo un arresto duro non pianificato del mio sistema che esegue diversi casi Virtual Box, tra cui Vagrant senza testa (in particolare VVV) per il mio sviluppo Wordpress.

Risolto con il comando vagrant reload.

Diversi siti di sviluppo di WordPress ora sono in esecuzione.

+0

Ho risolto questo problema abilitando VT-x https://github.com/cloudfoundry/bosh-lite/issues/220 – bachr

1

Passare alle impostazioni del BIOS del computer. Quindi attiva la virtualizzazione dell'hardware.

Problemi correlati