Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/linux/23.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Linux “流浪者”;等待机器启动时超时“;删除/project/.vagrant后 问题_Linux_Ubuntu_Ssh_Centos_Vagrant - Fatal编程技术网

Linux “流浪者”;等待机器启动时超时“;删除/project/.vagrant后 问题

Linux “流浪者”;等待机器启动时超时“;删除/project/.vagrant后 问题,linux,ubuntu,ssh,centos,vagrant,Linux,Ubuntu,Ssh,Centos,Vagrant,我正在使用bento/centos7.2box。我做了一次漫游,当它启动时,我注意到盒子有更新,我本能地取消了操作(我建议永远不要这样做!)。所以我继续做了vagrant销毁,rm-rf.vagrant,只是为了确定(同样,我建议永远不要这样做!)。我通过vagrant box remove bento/centos7.2取下了我的盒子,然后做了vagrant up,结果是: Timed out while waiting for the machine to boot. This means

我正在使用
bento/centos7.2
box。我做了一次
漫游
,当它启动时,我注意到盒子有更新,我本能地取消了操作(我建议永远不要这样做!)。所以我继续做了
vagrant销毁
rm-rf.vagrant
,只是为了确定(同样,我建议永远不要这样做!)。我通过
vagrant box remove bento/centos7.2
取下了我的盒子,然后做了
vagrant up
,结果是:

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.
环境
  • Ubuntu 16.04
  • 流浪汉1.81
  • Centos 7.2机箱
  • 我试过的东西 以下是我尝试过的线程:

  • 当我启用GUI时,我意识到该框正在正确启动;它只是停留在登录屏幕上(ssh框中的bug?)。截图:


    非常感谢您的帮助。我相信这是我添加的
    config.vm.box\u version=“2.2.9”
    框中的一个bug,可以恢复到box的旧版本,效果很好。