VBoxManage: error: Failed to create the host-only
阿新 • • 發佈:2019-03-21
reat 兼容 ide HERE provide vid 兼容性 failed err 【問題描述】:vagrant up 失敗,報錯如下:
centos7$ vagrant up
Bringing machine ‘do1‘ up with ‘virtualbox‘ provider...
Bringing machine ‘do2‘ up with ‘virtualbox‘ provider...
Bringing machine ‘do3‘ up with ‘virtualbox‘ provider...
==> do1: Importing base box ‘centos/7‘...
==> do1: Matching MAC address for NAT networking...
==> do1: Checking if box ‘centos/7‘ version ‘1901.01‘ is up to date...
==> do1: Setting the name of the VM: centos7do1155309648889913563
==> do1: Clearing any previously set network interfaces...
There was an error while executing
for controlling VirtualBox. The command and stderr is shown below.
VBoxManage: error: Context: "RTEXITCODE handleCreate(HandlerArg )" at line 94 of file VBoxManageHostonly.cpp
【排查分析】:兼容性問題
【解決方案】:下載低版本的box即可,當前最新為6.0.4,下載5.2.26即可。
centos7$ vagrant up
Bringing machine ‘do1‘ up with ‘virtualbox‘ provider...
Bringing machine ‘do2‘ up with ‘virtualbox‘ provider...
Bringing machine ‘do3‘ up with ‘virtualbox‘ provider...
==> do1: Importing base box ‘centos/7‘...
==> do1: Matching MAC address for NAT networking...
==> do1: Setting the name of the VM: centos7do1155309648889913563
==> do1: Clearing any previously set network interfaces...
There was an error while executing
VBoxManage
, a CLI used by Vagrantfor controlling VirtualBox. The command and stderr is shown below.
Command: ["hostonlyif", "create"]
Stderr: 0%...
Progress state: NSERRORFAILURE
VBoxManage: error: Failed to create the host-only adapter
VBoxManage: error: VBoxNetAdpCtl: Error while adding new interface: failed to open /dev/vboxnetctl: No such file or directory
VBoxManage: error: Details: code NSERRORFAILURE (0x80004005), component HostNetworkInterfaceWrap, interface IHostNetworkInterface
【排查分析】:兼容性問題
【解決方案】:下載低版本的box即可,當前最新為6.0.4,下載5.2.26即可。
VBoxManage: error: Failed to create the host-only