我的laravel项目昨天运转正常。但是今天,当我给"homestead up"时,我得到了以下错误。
There was an error while executing `VBoxManage`, a CLI used by Vagrant
for controlling VirtualBox. The command and stderr is shown below.
Command: ["modifyvm", "52b79407-0736-482d-86aa-596388cf3668", "--natpf1", "delete", "ssh", "--natpf1", "delete", "tcp33060", "--natpf1", "delete", "tcp44300", "--natpf1", "delete", "tcp54320", "--natpf1", "delete", "tcp8000"]
Stderr: VBoxManage.exe: error: Code E_FAIL (0x80004005) - Unspecified error (extended info not available)
VBoxManage.exe: error: Context: "LockMachine(a->session, LockType_Write)" at line 493 of file VBoxManageModifyVM.cpp我知道这个问题类似于, a CLI used by Vagrant for controlling VirtualBox. windows 10这个问题。但这里提供的解决办法对我没有帮助。
发布于 2016-10-08 21:32:21
LockMachine(a->session, LockType_Write)
很可能还有另一个进程正在运行,它锁定了VM运行。
ps -ef | grep -i "vbox"为了找出其他的过程-
您也可以尝试强制VM的启动
vboxmanage startvm 52b79407-0736-482d-86aa-596388cf3668 --type emergencystop确保VM从VirtualBox开始(现在还不是流浪者),然后从VirtualBox中正确地关闭它,下一个vagrant up应该正常工作。
https://stackoverflow.com/questions/39937025
复制相似问题