vagrant up
启动虚拟机报错
Bringing machine ‘default’ up with ‘virtualbox’ provider…
Your VM has become “inaccessible.” Unfortunately, this is a critical error
with VirtualBox that Vagrant can not cleanly recover from. Please open VirtualBox
and clear out your inaccessible virtual machines or find a way to fix
them.
解决方案
仔细看vagrant无法访问的提示:Please open VirtualBox and clear out your inaccessible virtual machines or find a way to fix them.看到这句话,于是打开virtualbox界面,virtualbox也提示该虚拟机无法启动,是因为C:\Users\denglj\VirtualBox VMs\vagrant_default_1411538218356_15372\vagrant_default_1411538218356_15372.vbox文件不存在。于是进入该文件的目录,发现并没有后缀为.vbox文件,而是多了一个.vbox-tmp的文件。
将后缀名改为.vbox,重新启动成功!
本文介绍了一种常见的Vagrant启动虚拟机失败的情况,错误提示为虚拟机变得不可访问。通过检查VirtualBox中.vbox文件的存在与否,找到了问题所在并成功修复。文章详细描述了从错误提示到问题解决的全过程。
1323

被折叠的 条评论
为什么被折叠?



