一键搞定分布式环境遇到问题总结

基于大佬的博客搞得环境,大佬的课程真心不错

https://www.cnblogs.com/crazymakercircle/p/14194688.html

下面补充自己搭建环境遇到的问题,总结一下,方便后面学习。

vagrant和virtualbox 的安装尽量默认使用C盘,我之前一直改动安装路径,会遇到下面的问题:

适配器创建失败 : Failed to create the host-only adapter

VBoxManage.exe: error: Failed to create the host-only adapter

VBoxManage.exe: error: Assertion failed: [!aInterfaceName.isEmpty()] at 'F:\tinderbox\win-5.1\src\VBox\Main\src-server\HostNetworkInterfaceImpl.cpp' (74) in long __cdecl HostNetworkInterface::init(class com::Bstr,class com::Bstr,class com::Guid,enum __MIDL___MIDL_itf_VirtualBox_0000_0000_0038). __

VBoxManage.exe: error: Please contact the product vendor!

__VBoxManage.exe: error: Details: code E_FAIL (0x80004005), component HostNetworkInterfaceWrap, interface IHostNetworkInterface __

VBoxManage.exe: error: Context: "enum RTEXITCODE __cdecl handleCreate(struct HandlerArg *)" at line 94 of file VBoxManageHostonly.cpp

因为在安装virtualbox目录下根本没有netadp6这个目录:…/Oracle VM VirtualBox中的 drivers\ network\ netadp6

安装在C盘值后就解决了这个问题。

posted @ 2022-01-30 18:23  长江大河  阅读(39)  评论(0)    收藏  举报