vagrant - Big Sur MacOS Vagrant 问题

标签 vagrant apache2

我刚刚将 MacOS 更新为新版本(Big Sur)。当我尝试 vagrant up 启动 vagrant 时,它显示如下错误:

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: No such file or directory
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
有谁知道如何解决这个问题?我已经尝试再次安装 vagrant。

最佳答案

我已经通过以下步骤解决了这个问题:

  • 更新您的虚拟机
  • 更新你的 Vagrant
  • 转至 System Preference然后 privacy& security并允许在一般点击的权限。
  • 关于vagrant - Big Sur MacOS Vagrant 问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/64852413/

    相关文章:

    ruby-on-rails-3 - RoR3 重定向不包括 RAILS_RELATIVE_URL_ROOT

    Ubuntu 安装 apache2 没有 httpd.conf

    .htaccess - .htaccess 中的 AuthName 未显示在 Chrome 中

    docker - zsh:找不到命令:dcos

    php - 在 Ubuntu 服务器上安装多个 PHP 版本

    apache2 - 在一个 apache 服务器上设置多个 ip 地址

    django - 使用 Django 进行 Web 开发的虚拟环境的最佳实践?

    ubuntu - Vagrant 代理适用于 `apt-get` 但不适用于 `ping`

    linux - 我可以将 Linux 虚拟 LAMP 设置复制到真实服务器吗?

    ruby-on-rails - Vagrant 减慢对 Rails 服务器的 http 请求