【報錯記錄】virtualbox

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
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章