Vagrant up fails with Laravel: "SSH team responded with non-zero exit status"

New to Laravel and Vagrant, never set up a virtual machine in any way other than through MAMP. New to use the terminal as a whole.

Powered by Mac OSX 10.9. Vagrantfile (and hopefully Laravel soon) is placed in a folder in Documents.

Reception Error:

The SSH command responded with a non-zero exit status. Vagrant assumes that this means the command failed. The output for this command should be in the log above. Please read the output to determine what went wrong. 

Magazine with "vagrant up"

Used stray files

UPDATE: when accessing the specified VM address through my browser, 403 Forbidden greets me

EDIT: The terminal log link has been updated after fixing laravel installation issues regarding mcrypt.

UPDATE: The tried and tested solution is described here , adding the following to /etc/sudoers . The problem is not fixed.

 vagrant ALL=(ALL) NOPASSWD:ALL Defaults:vagrant !requiretty 
+6
source share
3 answers

The artisan file is missing.

 php artisan migrate #fails 

I can’t say exactly what should be in / var / www, but it seems to me that Laravel is not configured properly. Try vagrant ssh look in / var / www (ls / var / www) and see what is there / what is missing.

+1
source

mileage:

 vagrant ssh 

upon successful login, run the following command:

 sudo rm -f /etc/udev/rules.d/70-persistent-net.rules 

perhaps 70 or 60 is the beginning of the rule file name.

than restarting the virtual box, try maybe the right way to resolve the issue.

+1
source

If you have this error, after

 vagrant up 

you can use

 vagrant ssh 

This allows you to start your server.

-2
source

Source: https://habr.com/ru/post/975084/


All Articles