流浪汉安装的解决方案

时间:2015-10-12 10:21:33

标签: vagrant cakephp-3.0

我需要你的帮助,因为我必须使用cakebox进行项目,但是当我输入vagrant时我遇到了一些问题我得到了这个错误。我尝试了一切,但它没有用。

提前致谢!

My-PC MINGW64 /A/App_LeagueUp!/cakebox (dev)

$ vagrant up

Bringing machine 'default' up with 'virtualbox' provider...

==> default: Importing base box 'cakebox'...

==> default: Matching MAC address for NAT networking...

==> default: Setting the name of the VM: cakebox_default_1444639086577_31058

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

    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.

2 个答案:

答案 0 :(得分:0)

我建议找出问题的方法是设置

vb.gui在Vagrantfile中标记为true。添加运行然后流浪。这将在另一个窗口打开控制台。它有时会发生在我身上,然后我重新启动,一切正常。

如果它没有在此发布结果,至少你会有更多的信息

答案 1 :(得分:0)

尝试从启动菜单启用虚拟化并再次尝试。