Bootstrap

解决 Stderr: VBoxManage: error: Failed to load unit 'HGCM' (VERR_TOO_MUCH_DATA)

  • OS:macOS v10.14.3
  • Vagrant:v2.2.4
  • VirtualBox:v6.0.4

在执行 vagrant up 时,出现如下错误信息:

➜  vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Resuming suspended VM...
==> 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", "41ad906e-5dbe-4dd5-adce-dbec1d8c57ee", "--type", "headless"]

Stderr: VBoxManage: error: Failed to load unit 'HGCM' (VERR_TOO_MUCH_DATA)
VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component ConsoleWrap, interface IConsole

解决:

  1. 在最新版的 macOS 系统下,确保 VirtualBox 有足够的目录权限

  1. 执行 Vagrant 命令 vagrant reload 修复

关于 Vagrant 的详细使用,参见;https://my.oschina.net/antsky/blog/852779

转载于:https://my.oschina.net/antsky/blog/3019582

;