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.


啟動虛擬機報錯

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.

解決方案

baidu了一下解決辦法,有篇blog說直接刪除vagrant目錄下生成的.vagrant隱藏文件即可,該blog下的七八個comments都表示這個方法有效。不過這個方法並沒有解決我的問題。

再仔細看了看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的文件。

抱着試試的想法,簡單地將該文件后綴中的-tmp去掉,在執行vagrant up命令,成功了

 

參考:https://blog.csdn.net/u013419759/article/details/79130124


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM