LoginSignup
0
0

More than 5 years have passed since last update.

Vagrant upエラー ※VirtualBox使用

Posted at

Vagrant upエラーの対処法

Vagrant upエラー

Bringing machine 'default' up with 'virtualbox' provider...
==> default: Checking if box 'bento/centos-6.8' is up to date...
==> default: A newer version of the box 'bento/centos-6.8' is available! You currently
==> default: have version '2.3.1'. The latest is version '2.3.4'. Run
==> default: `vagrant box update` to update.
==> default: Resuming suspended VM...
==> default: Booting VM...
There was an error while executing `VBoxManage`, a CLI used by Vagrant
for controlling VirtualBox. The command and stderr is shown below.

Command: ["startvm", "f1754b77-ea50-4a5d-a878-ce14eb1f34e8", "--type", "headless"]

Stderr: VBoxManage.exe: error: Interface ('VirtualBox Host-Only Ethernet Adapter #4') is not a Host-Only Adapter interfa
ce (VERR_INTERNAL_ERROR)
VBoxManage.exe: error: Details: code E_FAIL (0x80004005), component ConsoleWrap, interface IConsole

いつもどおりローカル開発環境を構築するためにVagrant upを行ったら、まさかのエラー。
いきなりエラーが起きると困りますね。

さっそくグーグルで「Vagrant up エラー」で検索。
記事を色々見てみたら、一度Virtual Boxをアンインストールして、新しいバージョンをダウンロードすれば解決するとのことだったので、やってみた。

が、しかしエラーは治らない。

そこで、Vagrantのコマンドを眺めていたら、reloadというそれっぽいコマンドを押してみたら、なんとエラーが治ったので、もし同じ状況の方がいればおすすめしたい。

※なぜエラーが治ったのか解析できていないので、分かる方は教えてください。。。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0