【报错记录】virtualbox

来源:互联网 发布:康涅狄格学院知乎 编辑:程序博客网 时间:2024/06/06 09:37

1. 启动报错

vagrant 版本1.9.5, virtualbox 版本 5.1.24, homestead 版本 4.0.0。主要问题在virtualbox上

时间:2017.12.13

操作系统:win7 64位

问题

# $ vagrant upThere was an error while executing `VBoxManage`, a CLI used by Vagrantfor 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. WeirdVBoxManage.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.dllHKEY_CLASSES_ROOT\CLSID\{00020424-0000-0000-C000-000000000046}InprocServer32 修改为C:\Windows\system32\oleaut32.dll