Mac : There was an error while executing `VBoxManage`, a CLI used by Vagrant

For macos you can update privaciy and security permissions.

here is a link: https://medium.com/@Aenon/mac-virtualbox-kernel-driver-error-df39e7e10cd8


Proceeding with the following steps helped me out:

  1. restart the virtual box using:

    sudo "/Library/Application Support/VirtualBox/LaunchDaemons/VirtualBoxStartup.sh" restart
    
  2. Stop vagrant as follows:

    vagrant halt
    
  3. start vagrant as follows:

    vagrant up
    

Go to settings => security & privacy => general

and allow permission.


Just had the same issue after latest OS update (Big Sur). Steps I had to get through in order to get it working again:

  • Uninstall VirtulBox and reinstall it (it shouldn't delete your VMs)
  • run homestead box update in Homestead directory
  • run sudo "/Library/Application Support/VirtualBox/LaunchDaemons/VirtualBoxStartup.sh" restart
  • Weirdly enough, followed @Alperen Tahta 's link and restarted laptop after I changed permissions.
  • Vagrant up and tada!

It took me a few steps to get there but I now have my VMs up and ruinning as before.

Hope it helps 👍🏼