###前提・実現したいこと
cmdからVagrant upのコマンドを使ってvagrantのCentOSを立ち上げようとしたら、以下のようなエラーメッセージが表示されました。
###発生している問題・エラーメッセージ
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Checking if box 'bento/centos-6.7' is up to date...
==> 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", "c9b07e5a-cf71-4b50-93a6-456965a8276a", "--type", "headless"]
Stderr: VBoxManage.exe: error: The virtual machine 'mycentos_default_1475156916072_74042' has terminated unexpectedly during startup with exit code 1 (0x1). More details may be available in 'C:\Users\owner\VirtualBox VMs\mycentos_default_1475156916072_74042\Logs\VBoxHardening.log'
VBoxManage.exe: error: Details: code E_FAIL (0x80004005), component MachineWrap, interface IMachine
###試したこと
tetatailの過去の質問であるhttps://teratail.com/questions/13335の回答に則って、VirtualBoxのtest版(Ver5.1.7)をインストールしてみたのですが、やはりうまくいきませんでした。
###補足情報(言語/FW/ツール等のバージョンなど)
使用しているOSはwindows10で、環境はdotinstallのhttp://dotinstall.com/lessons/basic_localdev_winのレッスンに基づいて構築しています。以前は問題なくできたのですが、先日windowsの更新を行ってから突然vagrant upができなくなってしまいました。解決する方法があれば是非ご教授願いたいです。
###追記
その後、matsuさんのアドバイス通りにログを確認したところ、Kasperskyの文字があったので、Kasperskyのセルフディフェンスを無効にして、もう一度VirtualBox ver.5.1.7をインストールしなおしたところ、エラーメッセージが変わりました。
C:\Users\owner\MyVagrant\mycentos>vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Checking if box 'bento/centos-6.7' is up to date...
==> 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", "c9b07e5a-cf71-4b50-93a6-456965a8276a", "--type", "headless"]
Stderr: VBoxManage.exe: error: Interface ('VirtualBox Host-Only Ethernet Adapter #2') is not a Host-Only Adapter interface (VERR_INTERNAL_ERROR)
VBoxManage.exe: error: Details: code E_FAIL (0x80004005), component ConsoleWrap, interface IConsole
となりました。どうやら最初のエラーはインストールが完遂されていなかったことも含まれていたようです。
###追追記
VirtualBoxの設定の方で、リモートディスプレイを無効にしたところ、起動しました。
よくわかりませんが、なんだか解決しました。ありがとうございました。
回答1件
あなたの回答
tips
プレビュー