2017-05-08 49 views
1

已經安裝和重新安裝Genymotion和VB幾次,現在他們兩個的最新版本。 當我嘗試啓動genymotion失敗並留下在日誌跡:無法啓動Genymotion由於網絡適配器

[debug] [VBox] [findHostOnlyInterface] Looking for compatible host-only interface 
[debug] [VBox] Call: ("list", "hostonlyifs") 
[debug] [VBox] Return code: 0 
[warning] [VBox] [getSavedHostOnlyInterface] Checking "VirtualBox Host-Only Ethernet Adapter" interface status ( QHostAddress("192.168.56.150") ) 
[debug] [VBox] Empty interface name 
[debug] [VBox] [createHostOnlyInterface] Creating new host-only interface 
[debug] [VBox] Call: ("hostonlyif", "create") 
[debug] [VBox] Return code: 0 
[debug] [VBox] [createHostOnlyInterface] Interface "VirtualBox Host-Only Ethernet Adapter #2" created with success 

不知道爲什麼它不喜歡現有的一個什麼Empty interface name手段。然後它嘗試啓動一個新的,但因爲默認情況下它有一個0.0.0.0 IP失敗。

[critical] [VBox] [createHostOnlyInterface] "VirtualBox Host-Only Ethernet Adapter #2" configuration is not valid. Subnet: "0.0.0" . Mask: "0.0.0.0" 
[debug] [VBox] [deleteHostOnlyInterface] Deleting "VirtualBox Host-Only Ethernet Adapter #2" host-only interface 
[debug] [VBox] Call: ("hostonlyif", "remove", "VirtualBox Host-Only Ethernet Adapter #2") 
[debug] [VBox] Return code: 0 
[debug] [VBox] erase host.only.interface 
[critical] [VBox] "Fail to load vboxmanage plugin from C:/Program Files/Genymobile/Genymotion/plugins/" 
[critical] VM Engine failed to load, state 4 
[critical] Unable to find VM Engine. Plugin loading aborted. 
[debug] [LogCollector] VM engine not available 

這一切看起來像是VB和Genymotion之間的衝突。但不知道如何解決它。 已經嘗試過不同版本的VB橋接驅動程序,清理註冊表並重新安裝它們。沒有運氣。 有沒有辦法獲得更詳細的調試,然後在消瘦?真正感興趣的是爲什麼默認網絡接口不適合VB。

試圖解決與刪除所有網絡接口

[debug] [VBox] Path from registry: "C:\Program Files\Oracle\VirtualBox\VBoxManage.exe" 
[debug] [VBox] Path: "C:\Program Files\Oracle\VirtualBox\VBoxManage.exe" 
[debug] [VBox] Call: ("list", "hostinfo") 
[debug] [VBox] Return code: 0 
[debug] [VBox] [System properties] Online physical CPU number: 4 
[debug] [VBox] [System properties] Online virtual CPU number: 2 
[debug] [VBox] [System properties] Max CPU number: 8 
[debug] [VBox] [System properties] Max memory size: 16320 
[debug] [VBox] get "" from host.only.interface 
[debug] [VBox] [findHostOnlyInterface] Looking for compatible host-only interface 
[debug] [VBox] Call: ("list", "hostonlyifs") 
[debug] [VBox] Return code: 0 
[debug] [VBox] Empty interface name 
[debug] [VBox] [createHostOnlyInterface] Creating new host-only interface 
[debug] [VBox] Call: ("hostonlyif", "create") 
[debug] [VBox] Return code: 0 
[debug] [VBox] [createHostOnlyInterface] Interface "VirtualBox Host-Only Ethernet Adapter" created with success 
............ 
[critical] [VBox] [createHostOnlyInterface] "VirtualBox Host-Only Ethernet Adapter" configuration is not valid. Subnet: "0.0.0" . Mask: "0.0.0.0" 
[debug] [VBox] [deleteHostOnlyInterface] Deleting "VirtualBox Host-Only Ethernet Adapter" host-only interface 
[debug] [VBox] Call: ("hostonlyif", "remove", "VirtualBox Host-Only Ethernet Adapter") 
[debug] [VBox] Return code: 0 
[debug] [VBox] erase host.only.interface 
[critical] [VBox] "Fail to load vboxmanage plugin from C:/Program Files/Genymobile/Genymotion/plugins/" 
[critical] VM Engine failed to load, state 4 
[critical] Unable to find VM Engine. Plugin loading aborted. 

我不知道什麼是在

[Genymotion] [warning] [VBox] [getSavedHostOnlyInterface] Checking "VirtualBox Host-Only Ethernet Adapter" interface status ( QHostAddress("192.168.56.1") ) 

回答

1

呀!我做的!
由於我的運氣我在VB網絡連接設置從Wireshark的驅動程序,添加有自動「NPCAP數據包驅動程序」中找到。在我將它刪除後,一切都開始像魅力一樣工作了! enter image description here

+0

幹得好,漂亮!https://github.com/nmap/nmap/issues –

+0

請在GitHub上將此情況報告給Npcap的問題。順便說一句普通的Debian運行所提供的配置確定。 – hsluoyz

+0

說不上來,如果它是一個Npcap問題,雖然Genymotion團隊已經瞭解的是: –

0

基礎上Empty interface name消息確認,它看起來像VirtualBox的採用HostOnly網絡接口,一個是在奇怪的狀態。也許你可以試試這個:

  • 退出Genymotion
  • 啓動VirtualBox
  • 打開Preferences面板(按Ctrl + G)
  • 進入 「網絡」> 「僅主機網絡」
  • 刪除這裏所有的接口
  • 開始Genymotion再次

Host-only Networks preferences

+0

沒有運氣。已經嘗試過 - 同樣的行爲。試圖創建一個新的界面,並由於無效的默認設置而失敗。 –

+0

好的。然後,也許你可以嘗試修復hostonly接口定義:日誌說'[critical] [VBox] [createHostOnlyInterface]「VirtualBox主機以太網適配器」配置無效。子網:「0.0.0」。掩碼:「0.0.0.0」':嘗試編輯接口並將網絡掩碼設置爲255.255.255.0之類的值。同時檢查DHCP服務器是否啓用。 –

+0

這是我開始 - 無論是'192.168.56.1 | 150'與正確配置DHCP。它在初始日誌中被提及爲「檢查」VirtualBox主機專用以太網適配器「接口狀態(QHostAddress(」192.168.56.150「))。你知道,我唯一沒有嘗試過的 - 在這個安裝上運行一個隨機虛擬機(不是來自Genymotion)。我會試一試。 –