LoginSignup
4
3

More than 3 years have passed since last update.

macOSをcatalinaにアップデートしたらvagrant upできなくなった

Last updated at Posted at 2019-10-18

はじめに

macOSをcatalinaにアップデートしました。
laravelの学習にhomesteadを使用していたので、確認のためvagrant upしてみたがエラーで起動できませんでした。

現象

vagrant upで以下のエラー

There was an error while executing `VBoxManage`, a CLI used by Vagrant
for controlling VirtualBox. The command and stderr is shown below.

Command: ["hostonlyif", "create"]

Stderr: 0%...
Progress state: NS_ERROR_FAILURE
VBoxManage: error: Failed to create the host-only adapter
VBoxManage: error: VBoxNetAdpCtl: Error while adding new interface: failed to open /dev/vboxnetctl: Permission denied
VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component HostNetworkInterfaceWrap, interface IHostNetworkInterface
VBoxManage: error: Context: "RTEXITCODE handleCreate(HandlerArg *)" at line 94 of file VBoxManageHostonly.cpp

対策

いろいろ調べたところ、virtualboxが悪さをしていると思い、

virtualbox -V

でバージョンを確認したところ、最新版があるとのことなので、インストールしました。

インストール後改めてvagrant upしたとこ、無事起動しました。
vagrant sshで接続も成功しました。

4
3
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
4
3