ok, let's break it down.
The script basically does:
- install and configure nginx
- install and configure uwsgi

uwsgi is the process that takes care of executing any python code (meaning, 
your webapp) .
nginx is the process that takes care of receiving an http request, passing 
it down to uwsgi, get the results and send the http response back to your 
browser.
Both need to be running in order for your app to work.

In order to let the two communicate, nginx expects a "file" 
(/tmp/web2py.socket) . That file is created by uwsgi.
It's possible that one of the steps of the script didn't work out, hence 
your error.
The error you posted seems to point out that nginx is configured correctly, 
but for some reason uwsgi is not.

The first thing to check is that you have the uwsgi daemon.
There's a command, "which", that will tell you the location of any 
executable is ready on your system.
So, type  "which uwsgi" in a terminal to know if at least it got installed. 
it should reply "/usr/local/bin/uwsgi"

If it's installed, the next check is see if it's configured correctly.
Systemd is used to let uwsgi start:
- Check if you have a file at /etc/systemd/system/emperor.uwsgi.service
An ini file is responsible to let uwsgi know WHAT to run:
- Check if you have a file at /etc/uwsgi/web2py.ini

If all of the above checks out, we'll need further steps, but for the time 
being check them 


-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to