尝试流浪时超时 [英] Timeout while trying to vagrant up

查看:22
本文介绍了尝试流浪时超时的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的想法不多了.我正在尝试按照 Laravel homestead 教程开始使用 vagrant,但是当我尝试 vagrant 时,我不断收到连接超时..

I'm running out of ideas. I'm trying to follow the Laravel homestead tutorial to start using vagrant but I keep getting connection timeouts when I try to vagrant up..

我在我的物理主机上运行 Windows 7.我在 64 位 Ubuntu 14.04 VM 中开发并在其中运行 vagrant.我不确定这种 VM Matryoshka 娃娃设置是导致问题还是什么原因.

I'm running Windows 7 on my physical host. I develop in an 64 bit Ubuntu 14.04 VM and run vagrant inside of that. I'm not sure if this sort of VM Matryoshka doll setup is causing the issue or what.

我还确保在 BIOS 中启用了硬件虚拟化,并在我的来宾 Ubuntu VM 和我的 homestead vagrant 实例上启用了 PAE/NX.

I have additionally ensured that hardware virtualization is enabled in BIOS and enabled PAE/NX on both my guest Ubuntu VM and my homestead vagrant instance.

这个问题也是可以复制的.它以完全相同的方式发生在我的台式机和笔记本电脑上,具有类似的配置.

The issue is replicatable too. It's happening on my desktop and laptop with similar configurations in the exact same way.

我看到的错误如下:

默认:SSH 用户名:vagrant

default: SSH username: vagrant

默认:SSH 认证方式:私钥

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...

等待机器启动时超时...

Timed out while waiting for the machine to boot...

推荐答案

为了解决此类启动超时问题,我发现启用 GUI 模式很有用,这样您就可以查看它是否在启动周期中卡住了.我在这个答案中有更多细节:Vagrant up timeout

To troubleshoot startup timeout problems like this, I find it useful to enable the GUI mode so you can see if it's stuck during the boot cycle. I have some more details in this answer: Vagrant up timeout

+1 套娃参考 :)

这篇关于尝试流浪时超时的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆