zepgram/magento2-fast-vm

Cant vagrant up on Mac

arrrrny opened this issue · 1 comments

Hi there, I am consistently getting below error. I reinstall a few times. It only worked once and never since.
I can still ssh in but nothing works. I am on Mac.

Going on, assuming VBoxService is correct...
VirtualBox Guest Additions: Starting.
VirtualBox Guest Additions: Building the VirtualBox Guest Additions kernel 
modules.  This may take a while.
VirtualBox Guest Additions: To build modules for other installed kernels, run
VirtualBox Guest Additions:   /sbin/rcvboxadd quicksetup <version>
VirtualBox Guest Additions: or
VirtualBox Guest Additions:   /sbin/rcvboxadd quicksetup all
VirtualBox Guest Additions: Kernel headers not found for target kernel 
4.9.0-14-amd64. Please install them and execute
  /sbin/rcvboxadd setup
modprobe vboxguest failed
The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!

/sbin/rcvboxadd setup

Stdout from the command:

VirtualBox Guest Additions: Starting.
VirtualBox Guest Additions: Building the VirtualBox Guest Additions kernel 
modules.  This may take a while.
VirtualBox Guest Additions: To build modules for other installed kernels, run
VirtualBox Guest Additions:   /sbin/rcvboxadd quicksetup <version>
VirtualBox Guest Additions: or
VirtualBox Guest Additions:   /sbin/rcvboxadd quicksetup all
VirtualBox Guest Additions: Kernel headers not found for target kernel 
4.9.0-14-amd64. Please install them and execute
  /sbin/rcvboxadd setup


Stderr from the command:

modprobe vboxguest failed
The log file /var/log/vboxadd-setup.log may contain further information.

sudo apt install linux-headers-$(uname -r) did the trick if anyone encounters same problem