That is what I have in /etc/init.d/uwsgi:

PATH=/opt/uwsgi:/sbin:/bin:/usr/sbin:/usr/bin
DAEMON=/usr/bin/uwsgi
OWNER=uwsgi

Should I modify it to:

PATH=/opt/uwsgi:/sbin:/bin:/usr/sbin:/usr/local/bin
DAEMON=/usr/local/bin/uwsgi
OWNER=www-data

?

On 27 мар, 05:55, VP <vtp2...@gmail.com> wrote:
> Make sure uwsgi has the correct path.  Look at /etc/init.d/uswgi
>
> There's a path to uwsgi.  The latest uwsgi sets the path to /usr/bin/
> uwgsi but it might have been installed in /usr/local/bin/uwsgi
>
> On Mar 26, 5:04 pm, LightOfMooN <vladsale...@yandex.ru> wrote:
>
>
>
>
>
>
>
> > Hi
> > I follow this 
> > guidehttp://stackoverflow.com/questions/5335153/how-to-deply-web2py-using-...
> > I have ubuntu 10.4 + nginx + web2py, installed in var
>
> > And the result is 502 Bad Gateway.
> > Any suggestions?

Reply via email to