2015-10-13 70 views
1

我想讓宅基地vm工作,但我有一些問題。宅基地失敗 - 拉拉維爾宅基地

這就是使用homestead up命令時發生的情況。

[email protected]:~$ homestead up 
Bringing machine 'default' up with 'virtualbox' provider... 
/opt/vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/environment.rb:492:in `initialize': Permission denied - /home/abdulaziz/.vagrant.d/data/lock.dotlock.lock (Errno::EACCES) 
    from /opt/vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/environment.rb:492:in `open' 
    from /opt/vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/environment.rb:492:in `block in lock' 
    from /opt/vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/environment.rb:485:in `lock' 
    from /opt/vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/environment.rb:491:in `lock' 
    from /opt/vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/environment.rb:491:in `lock' 
    from /opt/vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/machine.rb:178:in `call' 
    from /opt/vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/machine.rb:178:in `action' 
    from /opt/vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/batch_action.rb:82:in `block (2 levels) in run' 

值得注意的是/home/abdulaziz/.vagrant.d/data/lock.dotlock.lock文件根本不存在

任何幫助表示讚賞。謝謝。

回答

0

我嘗試了一些可能是錯誤的,但宅基地現在正在工作。我會看看這是否會在未來破壞它。

當我使用homestead up命令時,它一直給我提供我沒有權限使用的文件。問題在於這些文件從一開始就不存在。所以我做了什麼是我創建了所有這些文件,並給予正確的權限,現在機器正在工作。