2016-05-06 9 views
0

Ich habe ein Problem mit Vagrant wurde mit (1.8.1, mit VirtualBox 5.0.20) unter Windows 10.Vagrant Windows-10 ‚hängt“ auf vagabundierendes up

Als ich folge dem Tutorial https://www.vagrantup.com/docs/getting-started/, nachdem ich die ersten Schritte haben vagrant up eingegeben hat, ist meine Konsole steckt auf:

==> default: Waiting for machine to boot. This may take a few minutes... 
default: SSH address: 127.0.0.1:2200 
default: SSH username: vagrant 
default: SSH auth method: private key 

Es wird nicht fortgesetzt, kann ich das VM Boot innerhalb von VirtualBox sehen, und ich kann den VirtualBox GUI mit den Standard-Anmeldeinformationen anzumelden verwenden, so dass die VM selbst arbeitet

Laut https://www.vagrantup.com/docs/virtualbox/common-issues.html Ich sollte VirtualBox als admin laufen und Sie Vagabund von einem cmd.exe mit Admin-Rechten, aber wenn ich das tue, dass ich die Meldung:

There was an error while executing `VBoxManage`, a CLI used by Vagrant 
for controlling VirtualBox. The command and stderr is shown below. 
Command: ["modifyvm", "1b9d4f9b-04d8-48bf-8d16-d3aed99d341b", "--natpf1", "delete", "ssh"] 
Stderr: VBoxManage.exe: error: Code E_FAIL (0x80004005) - Unspecified error (extended info not available) 
VBoxManage.exe: error: Context: "LockMachine(a->session, LockType_Write)" at line 493 of file VBoxManageModifyVM.cpp 

Dies scheint sich von den 100 von den Beiträge der ganzen Netz wie diese: es sitzt nur da und nach gleich 10 Minuten https://github.com/Varying-Vagrant-Vagrants/VVV/issues/375 da ich bin nicht antying nach der Ausgabe oben aufgeführten immer kommt es mit der Meldung auf:

Timed out while waiting for the machine to boot. This means that 
Vagrant was unable to communicate with the guest machine within 
the configured ("config.vm.boot_timeout" value) time period. 
If you look above, you should be able to see the error(s) that 
Vagrant had when attempting to connect to the machine. These errors 
are usually good hints as to what may be wrong. 
If you're using a custom box, make sure that networking is properly 
working and you're able to connect to the machine. It is a common 
problem that networking isn't setup properly in these boxes. 
Verify that authentication configurations are also setup properly, 
as well. 
If the box appears to be booting properly, you may want to increase 
the timeout ("config.vm.boot_timeout") value. 

ich habe auch gelesen, aber es hat Vagrant stuck in "Waiting for VM to Boot" hilf mir nicht.

Gibt es noch etwas, was mir hier fehlt?

Antwort

0

Ich fand mein Problem eigentlich schon gut funktionieren. Es war eine .dll von einem Add-On-Scanner, die verhinderte, dass die Virtualbox-VM gestartet wurde. Ich habe den Link zum Forum-Thema verloren, was mir leider geholfen hat, dies zu lösen.

Was ich getan habe, war das Öffnen der Protokolle von der VM in VirtualBox und hatte einen Lesetrog. Irgendwann erschien eine Zeile, die einen Fehler anzeigt, mit einem .dll-Namen, der der Schuldige war. Ich löschte die störenden .dll-Dateien von meinem PC und es wurde behoben.

Wenn ich den Link wieder zu dem Thema finde, das genau erklärt, was dll es war, werde ich es hier posten. Ich bin nicht an der Maschine, dass ich das Problem jetzt behoben, so dass ich nicht auf meinen Suchverlauf zugreifen kann.

+0

Wo ist der Standardspeicherort für die Protokolle? – flux9998

1

versuchen, die VM von VirtualBox oder von der Kommandozeile

C:\Progra~1\Oracle\VirtualBox\VBoxManage.exe controlvm default poweroff 

starten Sie den VM von vagabundierenden auszuschalten. Im Fall erhalten Sie einen Fehler, wenn die VM ausschalten, das Herunterfahren zwingen

C:\Progra~1\Oracle\VirtualBox\VBoxManage.exe startvm default --type emergencystop 

Dann wird vagrant up soll

+0

Ich habe bereits mein Problem gelöst (siehe die Antwort). Ihr Vorschlag hätte in diesem Fall nicht geholfen. – Maarten

Verwandte Themen