Il giorno 18/mag/2012, alle ore 12:42, Lewis ha scritto:

> Ran that command line.  Doesn't work.
> 
> Instead of command line arg for processes, I put it in xml. does it matter?

You mean running "ps aux" now shows

/usr/local/bin/uwsgi -x /etc/uwsgi/uwsgi-conf.xml 

instead of the (wrong)

/usr/local/bin/uwsgi -x /etc/uwsgi/uwsgi-conf.xml -p /var/run/uwsgi.pid 

? (the second is wrong because -p takes a number, and in addition to that you 
have already specified the number of processes inthe xml file, so no need to
double-use it)

By the way try to follow that steps (run a ps aux after each step to be sue all 
is fine):

1) stop all (nginx, uwsgi)
2) run only nginx
3) from your terminal run (this is the minimal config for web2py)

sudo /usr/local/bin/uwsgi --chdir /var/web2py/ --module wsgihandler --socket 
127.0.0.1:9001

(it means: move to /var/web2py/, load wsgihandler module and bind to socket 
127.0.0.1:9001)
Now visit your website with your browser. Does it work ?

If it does not work double check if /var/web2py is the correct path of your 
web2py installation.

--
Roberto De Ioris
http://unbit.it
JID: robe...@jabber.unbit.it

Reply via email to