Search code examples
macosvagrantvirtualboxmacos-big-sur

The virtual machine 'vagrant' has terminated unexpectedly during startup with exit code 1 (0x1)


Hello i want to run my project with vagrant. When I use the vagrant up command I get the following error. I was running it before but when I tried it today I got an error. What can I do?

enter image description here


Solution

  • I spent a lot of time solving the problem. Thinking that the SSLVPN application installed on my computer was blocking it, I deleted the application. Then I opened the terminal in recovery mode (CMD+R) and ran the csrutil disable and reboot commands. https://stackoverflow.com/a/54739865/14870350 I also deleted Virtualbox and vagrant applications using the link. Afterwards, after deleting the remaining virtualbox, vagrant and SSLVPN files in the system with the Funter application, reinstalling virtualbox and vagrant and restarting the computer, my problem was solved. Then, for security, re-enable csrutil with the csrutil enable command.