【发布时间】:2016-01-25 14:11:32
【问题描述】:
我在 Laravel 中使用 Homestead 和 vagrant,一切正常,直到今天早上我试图启动机器并开始工作。 我收到此错误:
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Checking if box 'laravel/homestead' 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: 80 (guest) => 8000 (host) (adapter 1)
default: 443 (guest) => 44300 (host) (adapter 1)
default: 3306 (guest) => 33060 (host) (adapter 1)
default: 5432 (guest) => 54320 (host) (adapter 1)
default: 22 (guest) => 2222 (host) (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
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.
谁能帮我解决这个问题而无需重新安装?
我尝试过的:
- 重新启动我的电脑
- 关闭一些应用程序
- 删除虚拟机
- 关闭我的防火墙
【问题讨论】:
-
你的端口对 Vagrant 来说是免费的吗?你的防火墙启用了吗?
-
@Schellingerht 如果我 100% 确定,我会告诉你是的,但它在上周工作。不知道有什么可以阻止 vagrant
-
您可以尝试启用 gui 以查看是否可以发现启动时发生的情况。
vm.gui = true -
同样...
==> default: VM not created. Moving on...
标签: php laravel frameworks vagrant homestead