質問をすることでしか得られない、回答やアドバイスがある。

15分調べてもわからないことは、質問しよう!

新規登録して質問してみよう
ただいま回答率
85.50%
VirtualBox

VirtualBoxは、現在米オラクル社が開発している、 x86仮想化ソフトウェア・パッケージの一つです。

Vagrant

Vagrantは、VirtualBox上の仮想マシンを コマンドラインから作成してくれるソフトウェアです。 ビルド環境など容易に構築が可能です。

Q&A

1回答

5908閲覧

vagrant upで起動するときエラーが出て起動できません

babi

総合スコア11

VirtualBox

VirtualBoxは、現在米オラクル社が開発している、 x86仮想化ソフトウェア・パッケージの一つです。

Vagrant

Vagrantは、VirtualBox上の仮想マシンを コマンドラインから作成してくれるソフトウェアです。 ビルド環境など容易に構築が可能です。

0グッド

0クリップ

投稿2016/07/11 01:35

エラー内容

lang

1vagrant up 2Bringing machine 'default' up with 'virtualbox' provider... 3==> default: Checking if box 'laravel/homestead' is up to date... 4==> default: A newer version of the box 'laravel/homestead' is available! You currently 5==> default: have version '0.4.4'. The latest is version '0.5.0'. Run 6==> default: `vagrant box update` to update. 7==> default: Clearing any previously set network interfaces... 8There was an error while executing `VBoxManage`, a CLI used by Vagrant 9for controlling VirtualBox. The command and stderr is shown below. 10 11Command: ["hostonlyif", "create"] 12 13Stderr: 0%... 14Progress state: E_FAIL 15VBoxManage.exe: error: Failed to create the host-only adapter 16VBoxManage.exe: error: Operation canceled by the user 17VBoxManage.exe: error: Details: code E_FAIL (0x80004005), component VirtualBoxWrap, interface IVirtualBox 18VBoxManage.exe: error: Context: "enum RTEXITCODE __cdecl handleCreate(struct HandlerArg *)" at line 71 of file VBoxManageHostonly.cpp 19 20Process finished with exit code 1 21

Vagrantfile

require 'json' require 'yaml' VAGRANTFILE_API_VERSION ||= "2" confDir = $confDir ||= File.expand_path("vendor/laravel/homestead", File.dirname(__FILE__)) homesteadYamlPath = "Homestead.yaml" homesteadJsonPath = "Homestead.json" afterScriptPath = "after.sh" aliasesPath = "aliases" require File.expand_path(confDir + '/scripts/homestead.rb') Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| if File.exists? aliasesPath then config.vm.provision "file", source: aliasesPath, destination: "~/.bash_aliases" end if File.exists? homesteadYamlPath then Homestead.configure(config, YAML::load(File.read(homesteadYamlPath))) elsif File.exists? homesteadJsonPath then Homestead.configure(config, JSON.parse(File.read(homesteadJsonPath))) end if File.exists? afterScriptPath then config.vm.provision "shell", path: afterScriptPath end end

このエラーがどういったエラーなのかと
解決方法を教えてほしいです。

気になる質問をクリップする

クリップした質問は、後からいつでもMYページで確認できます。

またクリップした質問に回答があった際、通知やメールを受け取ることができます。

バッドをするには、ログインかつ

こちらの条件を満たす必要があります。

guest

回答1

0

Vagrant再起動で直るかもしれません。

http://qiita.com/ShotaKameyama/items/1f39791092f57c5046bc

https://firegoby.jp/archives/5182

Windows10なら以下が参考になるかもです。

http://d.hatena.ne.jp/kobarn/20150805

投稿2016/07/11 02:05

Takuma_Tanaka

総合スコア128

バッドをするには、ログインかつ

こちらの条件を満たす必要があります。

あなたの回答

tips

太字

斜体

打ち消し線

見出し

引用テキストの挿入

コードの挿入

リンクの挿入

リストの挿入

番号リストの挿入

表の挿入

水平線の挿入

プレビュー

まだベストアンサーが選ばれていません

会員登録して回答してみよう

アカウントをお持ちの方は

15分調べてもわからないことは
teratailで質問しよう!

ただいまの回答率
85.50%

質問をまとめることで
思考を整理して素早く解決

テンプレート機能で
簡単に質問をまとめる

質問する

関連した質問