Vagrant box: Standard: Warning: timeout der Verbindung. Wiederholung
Ich bin mit Mühe vagrant box läuft. Ich habe versucht, die Lösung in diesem thread: Vagrant stecken Verbindungs-timeout Wiederholung. Kein Glück gibt. Ich habe auch versucht, die Erhöhung der Wert von config.vm.boot_timeout. Kein Glück entweder. Bitte um Hilfe!!
$ vagrant destroy && vagrant up
default: Are you sure you want to destroy the 'default' VM? [y/N] y
==> default: Forcing shutdown of VM...
==> default: Destroying VM and associated drives...
==> default: Running cleanup tasks for 'shell' provisioner...
==> default: Running cleanup tasks for 'shell' provisioner...
==> default: Running cleanup tasks for 'shell' provisioner...
==> default: Running cleanup tasks for 'shell' provisioner...
==> default: Running cleanup tasks for 'shell' provisioner...
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Importing base box 'laravel/homestead'...
==> default: Matching MAC address for NAT networking...
==> default: Checking if box 'laravel/homestead' is up to date...
==> default: Setting the name of the VM: Homestead_default_1404542131789_93737
==> 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: 80 => 9000 (adapter 1)
default: 3306 => 33060 (adapter 1)
default: 5432 => 54320 (adapter 1)
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...
default: SSH address: 127.0.0.1:2222
default: SSH username: vagrant
default: SSH auth method: private key
default: Warning: Connection timeout. Retrying...
default: Warning: Connection timeout. Retrying...
default: Warning: Connection timeout. Retrying...
default: Warning: Connection timeout. Retrying...
default: Warning: Connection timeout. Retrying...
default: Warning: Connection timeout. Retrying...
default: Warning: Connection timeout. Retrying...
default: Warning: Connection timeout. Retrying...
default: Warning: Connection timeout. Retrying...
default: Warning: Connection timeout. Retrying...
default: Warning: Connection timeout. Retrying...
default: Warning: Connection timeout. Retrying...
default: Warning: Connection timeout. Retrying...
default: Warning: Connection timeout. Retrying...
default: Warning: Connection timeout. Retrying...
default: Warning: Connection timeout. Retrying...
default: Warning: Connection timeout. Retrying...
default: Warning: Connection timeout. Retrying...
default: Warning: Connection timeout. Retrying...
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.
Vielen Dank im Voraus!
- stackoverflow.com/questions/22575261/... in dieser Frage, die seccond Antwort funktioniert bei mir.
- Die situation könnte sein, weil VirtualBox failed to redirect ports, trotz, die sagen, '==> Standard: ports umleiten... default: 22 => 2222 (adapter 1)' Sie können einen Blick auf die vollständige Beschreibung in meiner Frage, hier link. Ich habe noch keine Ahnung wie fix die Umleitung nicht( Bitte lassen Sie einen Hinweis in meinem Beitrag, ob und wie Sie gelingt!
Du musst angemeldet sein, um einen Kommentar abzugeben.
Müssen Sie zum aktivieren der Virtuellen Maschine die option in deinem BIOS zu machen, VirtualBox funktioniert wie erwartet.
Für Virtualisierung Einstellungen : http://www.sysprobs.com/disable-enable-virtualization-technology-bios
Den Nachrichten, die Sie hier gepostet haben sind gedruckt, ziemlich am Ende der VM starten.
So, wie ich es sehe, gibt es zwei Hauptgründe für diese
Haben Sie eine firewall, so können Sie keinen Zugang zu vagrant Maschine sogar von Ihnen localhost. Ich würde versuchen, die firewall zu deaktivieren, und starten Sie erneut.
Ihren Gast-Maschine ist einfach zu schwer, eine Menge Dinge passieren beim Start, bevor es tatsächlich zur Verfügung stehen, so vagrant bekommt einen timeout. In diesem Fall aktualisieren Sie den Wert von config.vm.boot_timeout in der vm-Konfigurationsdatei als Gast freundlich Staaten.
Hoffe, das hilft
Aktivieren Sie gui-Eingabe von der Tastatur in Ihr vagrant-Konfiguration-Datei