LoginSignup
0
0

More than 1 year has passed since last update.

vagrant起動エラー

Posted at

概要

vagrant起動時のエラーメッセージについての対応メモ
なお、自身の環境はMac OS12.6を想定している。

エラーメッセージ

vagrant upで仮想ホストを起動しようとしましたが下記エラーが表示される。

$ vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Checking if box 'ubuntu/bionic64' version '20230222.0.0' is up to date...
==> default: Clearing any previously set forwarded ports...
==> default: Fixed port collision for 22 => 2222. Now on port 2200.
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
    default: Adapter 1: nat
==> default: Forwarding ports...
    default: 22 (guest) => 2200 (host) (adapter 1)
==> default: Running 'pre-boot' VM customizations...
==> 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", "45b862f3-823a-45f8-a6fe-59244e78dfa5", "--type", "headless"]

Stderr: VBoxManage: error: The virtual machine 'xxxx_default_1677201045807_72286' has terminated unexpectedly during startup with exit code 1 (0x1)
VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component MachineWrap, interface IMachine

対処法

色々と解決を試みていましたが、vagrant周りの知識が不足していたために再インストールで解決しました(一番ダメなやつ。。。)

$ brew uninstall --cask virtualbox vagrant
$ brew install --cask virtualbox vagrant
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