2015-05-18 34 views
2

你好老鄉程序員,Laravel 5宅基地W /遊民和虛擬箱白頁

所以我目前分配給具有宅基地和流浪漢目前我有各種問題..安裝和配置Laravel 5,現在我碰到在我的gitbash中出現以下錯誤。在這個錯誤之前,我再次運行init.sh,因爲有人告訴我他修復了他的家園。 那麼我該如何解決這個錯誤?

哦,我在Windows 7

Welcome to Git (version 1.9.5-preview20150319) 


Run 'git help git' to display the help index. 
Run 'git help <command>' to display help for specific commands. 


[email protected] ~/Homestead/Homestead (master) 
$ vagrant up 
Bringing machine 'default' up with 'virtualbox' provider... 
==> default: Checking if box 'laravel/homestead' is up to date... 
==> default: Setting the name of the VM: homestead 
The name of your virtual machine couldn't be set because VirtualBox 
is reporting another VM with that name already exists. Most of the 
time, this is because of an error with VirtualBox not cleaning up 
properly. To fix this, verify that no VMs with that name do exist 
(by opening the VirtualBox GUI). If they don't, then look at the 
folder in the error message from VirtualBox below and remove it 
if there isn't any information you need in there. 

VirtualBox error: 

VBoxManage.exe: error: Could not rename the directory 'C:\Users\Stefano\VirtualB 
ox VMs\settler_default_1430450956915_11366_1431938089885_29938' to 'C:\Users\Ste 
fano\VirtualBox VMs\homestead' to save the settings file (VERR_ALREADY_EXISTS) 
VBoxManage.exe: error: Details: code E_FAIL (0x80004005), component SessionMachi 
ne, interface IMachine, callee IUnknown 
VBoxManage.exe: error: Context: "SaveSettings()" at line 2788 of file VBoxManage 
ModifyVM.cpp 


[email protected] ~/Homestead/Homestead (master) 
$ 
+0

您已經這樣做了,如錯誤消息中所述? *要解決此問題,請驗證是否存在具有該名稱的虛擬機 (通過打開VirtualBox GUI)。如果他們不這樣做,那麼看看下面VirtualBox的錯誤信息中的 文件夾,如果沒有你需要的任何信息,刪除它 * –

+0

謝謝工作! –

+0

我將此添加爲答案,以便您可以將此問題標記爲已爲其他用戶解決。 –

回答

5

工作你已經做了這一點,因爲在錯誤信息說明?

要解決此問題,請驗證是否存在具有該名稱的虛擬機(通過打開VirtualBox GUI)。如果他們不這樣做,那麼從VirtualBox下面的錯誤消息中查看文件夾,如果沒有您需要的任何信息,請將其刪除。

0

我很困惑的反應,因爲我刪除了機器窗體虛擬管理器。我去了c/users /%user%/ Vbox目錄並刪除了所有的框,並且能夠重新加載vbox。我懷疑所有的數據都丟失了,但它是全新的安裝,但很好奇如何備份數據並在這種情況下恢復數據。 (也就是說,如果我在那裏需要數據,那麼我的數據就是這樣)