【发布时间】:2021-12-23 13:16:29
【问题描述】:
我已经被困在这个问题上几天了,对于下一步该做什么已经没有选择了。
我最近购买了新的 macbook pro。我在外置硬盘上备份了旧的 macbook pro,并将所有内容导入到新的 macbook pro。这意味着我所有旧 macbook pro 的内容/配置现在都在我的新 macbook pro 上。
我的旧 macbook pro 上的操作系统是 Catalina,而我的新 macbook pro 上的操作系统是 Big Sur。
每当我尝试在我的 /Homestead 目录中运行 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: 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 95 of file VBoxManageHostonly.cpp
我看到的最常见的解决方案是我需要导航到系统偏好设置 > 安全和隐私 > 允许 Oracle 权限。但是,我什至没有将其视为导航到此选项时出现的选项。
我尝试卸载并重新安装 Vagrant 和 Virtual Box(关注 Laravel Homestead docs),但没有成功。
我不知道还能做什么。整个 Virtual Box 在我的旧 macbook pro 上运行良好。在我的新 macbook pro 上,它给我带来了很多问题。
有人对我应该做什么有任何建议吗?我已经用尽了我在网上能找到的几乎所有东西,希望能找到一个可能不同的答案。
【问题讨论】:
标签: laravel debugging vagrant virtualbox homestead