1. 启动报错
vagrant 版本1.9.5, virtualbox 版本 5.1.24, homestead 版本 4.0.0。主要问题在virtualbox上
时间:2017.12.13
操作系统:win7 64位
问题
# $ vagrant up
There was an error while executing `VBoxManage`, a CLI used by Vagrant
for controlling VirtualBox. The command and stderr is shown below.
Command: ["showvminfo", "6aea63d6-167b-4b69-9e31-33d180654c1f"]
Stderr: VBoxManage.EXE: error: Failed to create the VirtualBox object!
VBoxManage.EXE: error: Failed to instantiate CLSID_VirtualBox w/ IVirtualBox, but CLSID_VirtualBox w/ IUnknown works.
VBoxManage.EXE: error: PSDispatch looks fine. Weird
VBoxManage.EXE: error: Details: code E_NOINTERFACE (0x80004002), component VirtualBoxClientWrap, interface IVirtualBoxClient
解决
修改注册表
HKEY_CLASSES_ROOT\CLSID\{00020420-0000-0000-C000-000000000046}
InprocServer32 修改为C:\Windows\system32\oleaut32.dll
HKEY_CLASSES_ROOT\CLSID\{00020424-0000-0000-C000-000000000046}
InprocServer32 修改为C:\Windows\system32\oleaut32.dll