突然vagrant up ができなくなりました。 このようなコマンドが出ます。
vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Checking if box 'ubuntu/trusty32' is up to date...
==> default: A newer version of the box 'ubuntu/trusty32' is available! You currently
==> default: have version '20170330.0.1'. The latest is version '20171208.0.0'. Run
==> default: vagrant box update
to update.
==> default: Clearing any previously set forwarded ports...
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
default: Adapter 1: nat
default: Adapter 2: hostonly
==> default: Forwarding ports...
default: 3000 (guest) => 3000 (host) (adapter 1)
default: 22 (guest) => 2222 (host) (adapter 1)
==> 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", "2297c3dc-99a8-4165-bca9-49d8c5961e4b", "--type", "headless"]
Stderr: VBoxManage.exe: error: The virtual machine 'vagrant_default_1491456543914_643' has terminated unexpectedly during startup with exit code 1 (0x1). More details may be available in 'C:\Users\shn\VirtualBox VMs\vagrant_default_1491456543914_643\Logs\VBoxHardening.log'
VBoxManage.exe: error: Details: code E_FAIL (0x80004005), component MachineWrap, interface IMachine
他の質問でも似たようなものがありvirtialBox内のファイルの破損ではないかとの事でしたので一度アンインストールして同じバージョンをダウンロードしなおしセットアップしましたが結果は同じでした。 エラーを翻訳するとVBoxManageの実行中にエラーとなっていてvirtialBoxは異常のないものを使っているはずなのに…というところで解決できずに途方にくれています。
ためしたこと
- virtialBoxの再インストール、同型、最新、最新の一個前
- リストvagrantの再インストール、同型、最新
最新同士の組み合わせはvagrant up成功しましたが作成中のrails new出来なかったので元に戻しました。 気になるところはwindowsの更新をしてからおかしくなったところで、更新を1つを除いてアンインストールしたのですが改善されませんでした。一つはアンインストールできないようでそのままです。 どなたか解決策を教えていただけませんでしょうか。よろしくお願いします。
回答2件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2017/12/17 00:42