2016-09-11 15 views
3

このエラーは、以前に郵便で報告されています:VBoxManage: error: Failed to create the host-only adapterおよびこれ以降、Windows/vagrant/OracleVBの新しいバージョンで発生します。以下に説明するセットアップでこの問題の解決策を見つけた場合は、VBoxManage:エラー:ホスト専用アダプタ(II)の作成に失敗しました

  • ホスト:Windows 10 Homeバージョン1607; 1.8.5
  • オラクルVB:"bento/ubuntu-14.04"画像
  • ベイグラント使用:OSは14939.105
  • ゲスト構築5.1.4 r110228(Qt5.5.1)

を私は両方(OracleのVB、その後ベイグラントをインストール新鮮なインストール)、私のワークスペースの1つとしてusuasとしてvagrant upを実行しました。浮浪者が仮想ボックスのダウンロードが終了した後にVMを起動しようとすると、次のエラー出力を与えた:

C:\Users\AHL\workspace>vagrant up 
Bringing machine 'default' up with 'virtualbox' provider... 
==> default: Box 'bento/ubuntu-14.04' could not be found. Attempting to find and install... 
    default: Box Provider: virtualbox 
    default: Box Version: >= 0 
==> default: Loading metadata for box 'bento/ubuntu-14.04' 
    default: URL: https://atlas.hashicorp.com/bento/ubuntu-14.04 
==> default: Adding box 'bento/ubuntu-14.04' (v2.2.9) for provider: virtualbox 
    default: Downloading: https://atlas.hashicorp.com/bento/boxes/ubuntu-14.04/versions/2.2.9/providers/virtualbox.box 
    default: Progress: 100% (Rate: 74436/s, Estimated time remaining: --:--:--) 
==> default: Successfully added box 'bento/ubuntu-14.04' (v2.2.9) for 'virtualbox'! 
==> default: Importing base box 'bento/ubuntu-14.04'... 
==> default: Matching MAC address for NAT networking... 
==> default: Checking if box 'bento/ubuntu-14.04' is up to date... 
==> default: Setting the name of the VM: workspace_default_1473571560144_68182 
==> default: Clearing any previously set network interfaces... 
There was an error while executing `VBoxManage`, a CLI used by Vagrant 
for controlling VirtualBox. The command and stderr is shown below. 

Command: ["hostonlyif", "create"] 

Stderr: 0%... 
Progress state: E_FAIL 
VBoxManage.exe: error: Failed to create the host-only adapter 
VBoxManage.exe: error: Operation canceled by the user 
VBoxManage.exe: error: Details: code E_FAIL (0x80004005), component VirtualBoxWrap, interface IVirtualBox 
VBoxManage.exe: error: Context: "enum RTEXITCODE __cdecl handleCreate(struct HandlerArg *)" at line 71 of file VBoxManageHostonly.cpp 

C:\Users\AHL\workspace> 

Vagrantfile:報告されたように

Vagrant.configure(2) do |config| 
    config.vm.box = "bento/ubuntu-14.04" 
    config.vm.network "private_network", ip: "192.168.33.10" 
end 

答えて

1

この問題を解決するには、同じように見えます

Oracle VB GUIのVMは実行されていないように見えますが、Oracle VB GUIを使用して手動で起動する必要があります(これは機能し、ボックスにログインして手動で電源を切る必要があります)。再度(また、Oracle VBのGUIを介して)。その後、再度vagrant upを実行すると正常に動作します。

この設定に問題がある場合は、この投稿にコメントを追加してください。

1

は、コマンドラインで管理者として

C:\HashiCorp\Vagrant\bin\vagrant.exe、その後

vagrant upを実行するようにしてください。

それは私のために働いた。

関連する問題