流浪客户机进入无效状态

时间:2015-01-27 12:10:12

标签: ubuntu virtual-machine vagrant virtualbox cloudfoundry

我试图在ubuntu服务器上设置bosh-lite(然后在本地安装cloudfoundry)(vagrant v1.6.3,Virtualbox 4.3.20r96996)。当vagrant尝试使用以下错误启动创建的计算机时,安装失败:

$ cd bosh-lite
$ vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Checking if box 'cloudfoundry/bosh-lite' 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: 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...

The guest machine entered an invalid state while waiting for it to boot.
Valid states are 'starting, running'. The machine is in the 'poweroff' state.  
Please verify everything is configured properly and try again.

If the provider you're using has a GUI that comes with it, it is often helpful to open that and watch the machine, since the GUI often has more helpful error messages than Vagrant can retrieve.
For example, if you're using VirtualBox, run `vagrant up` while the VirtualBox GUI is open.

2 个答案:

答案 0 :(得分:2)

在我的系统运行多个虚拟机箱实例(包括无头Vagrant(特别是VVV)用于我的Wordpress开发)的计划外硬关机后,在cmd上使用 vagrant up 后出现此错误。

使用 vagrant reload 命令解决了这个问题。

现在有几个WordPress开发站点备份并运行。

答案 1 :(得分:1)

转到计算机的BIOS设置。然后打开硬件虚拟化。