Skip to content
This repository has been archived by the owner on Nov 21, 2019. It is now read-only.

启动失败 #35

Closed
flwh opened this issue Sep 6, 2017 · 5 comments
Closed

启动失败 #35

flwh opened this issue Sep 6, 2017 · 5 comments

Comments

@flwh
Copy link

flwh commented Sep 6, 2017

Error: Command failed: "C:\Program Files\Oracle\VirtualBox\VBoxManage.exe" startvm --type headless vrouter
VBoxManage.exe: error: Nonexistent host networking interface, name 'undefined' (VERR_INTERNAL_ERROR)
VBoxManage.exe: error: Details: code E_FAIL (0x80004005), component ConsoleWrap, interface IConsole

at ChildProcess.exithandler (child_process.js:217:12)
at emitTwo (events.js:106:13)
at ChildProcess.emit (events.js:194:7)
at maybeClose (internal/child_process.js:899:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)
@overcache
Copy link
Owner

overcache commented Sep 6, 2017

没能获取物理网卡的名称, 能贴下在 cmd 命令 WMIC nic where "PhysicalAdapter = TRUE and NetConnectionStatus = 2" get InterfaceIndex,Name的运行结果吗?

@flwh
Copy link
Author

flwh commented Sep 6, 2017

C:\Users\mapleflwh>WMIC nic where "PhysicalAdapter = TRUE and NetConnectionStatus = 2" get InterfaceIndex,Name
InterfaceIndex Name
11 VMware Virtual Ethernet Adapter for VMnet1
8 VMware Virtual Ethernet Adapter for VMnet8
3 Xiaomi 802.11n USB Wireless Adapter
40 VirtualBox Host-Only Ethernet Adapter
48 VirtualBox Host-Only Ethernet Adapter #2

@overcache
Copy link
Owner

知道 bug 所在了, 麻烦再贴日志确认下, 谢谢.
位置在%USERPROFILE%/AppData/Roaming/vrouter/vrouter.log

@flwh
Copy link
Author

flwh commented Sep 6, 2017

2017-09-06T18:02:43+08:00 - info: building vm
2017-09-06T18:03:34+08:00 - info: no hostonlyifs with 10.19.28.46 available. create a new one then configure it
2017-09-06T18:04:04+08:00 - info: hostonlyInf: VirtualBox Host-Only Ethernet Adapter #2
2017-09-06T18:04:04+08:00 - info: bridgeServices: Xiaomi 802.11n USB Wireless Adapter,Realtek PCIe FE Family Controller,TAP-Windows Adapter V9
2017-09-06T18:04:06+08:00 - info: actived Bridge Service: undefined
2017-09-06T18:04:12+08:00 - error: build error: Error: Command failed: "C:\Program Files\Oracle\VirtualBox\VBoxManage.exe" startvm --type headless vrouter
VBoxManage.exe: error: Nonexistent host networking interface, name 'undefined' (VERR_INTERNAL_ERROR)
VBoxManage.exe: error: Details: code E_FAIL (0x80004005), component ConsoleWrap, interface IConsole

2017-09-06T18:04:33+08:00 - info: building vm
2017-09-06T18:04:33+08:00 - error: build error: Error: Command failed: "C:\Program Files\Oracle\VirtualBox\VBoxManage.exe" createvm --name vrouter --register
VBoxManage.exe: error: Machine settings file 'C:\Users\mapleflwh\VirtualBox VMs\vrouter\vrouter.vbox' already exists
VBoxManage.exe: error: Details: code VBOX_E_FILE_ERROR (0x80bb0004), component MachineWrap, interface IMachine, callee IUnknown
VBoxManage.exe: error: Context: "CreateMachine(bstrSettingsFile.raw(), bstrName.raw(), ComSafeArrayAsInParam(groups), bstrOsTypeId.raw(), createFlags.raw(), machine.asOutParam())" at line 273 of file VBoxManageMisc.cpp

@overcache
Copy link
Owner

已通过 e0f95d5 修复.

请下载alpha-3版本, 删除构建失败的虚拟机然后重建一次

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants