Make sure everything in web2py directory is owned by www-data user : sudo chown -R www-data.www-data web2py/
Richard On Mon, Aug 4, 2014 at 7:09 PM, Jim Steil <ato.st...@gmail.com> wrote: > Just logged in and saw that I did install unixodbc before pyodbc. Also, > this all works if I run using the rocket web server instead of nginx/uwsgi. > > -Jim > > > On Mon, Aug 4, 2014 at 5:59 PM, Richard Vézina < > ml.richard.vez...@gmail.com> wrote: > >> Try install unixodbc before pyodbc as says in the link I posted above... >> >> To me, it looks like uwsgi and nginx and web2py are running but the >> pyodbc make web2py failing with internal error... >> >> Richard >> >> >> On Mon, Aug 4, 2014 at 6:38 PM, Marin Pranjić <marin.pran...@gmail.com> >> wrote: >> >>> Can you check again if there is wsgihandler.py inside web2py root >>> directory? >>> Can you make sure sockets are created inside /tmp and www-data owns them? >>> What does nginx error log say when you try to make a request? >>> >>> I had a 5-hour fight with uwsgi last week. It's really hard to debug it >>> because logs don't say much about the issue. :( >>> >>> >>> On Tue, Aug 5, 2014 at 12:27 AM, Jim Steil <ato.st...@gmail.com> wrote: >>> >>>> appears to be. Also, keep in mind that all of this works with the >>>> rocket server... >>>> >>>> administrator@web1-14:/home/www-data/web2py$ ps aux | grep uwsgi >>>> root 788 0.0 0.1 39256 6380 ? Ss 17:15 0:00 uwsgi >>>> --master --die-on-term --emperor /etc/uwsgi --logto >>>> /var/log/uwsgi/uwsgi.log >>>> root 892 0.0 0.0 36612 1112 ? S 17:15 0:00 uwsgi >>>> --master --die-on-term --emperor /etc/uwsgi --logto >>>> /var/log/uwsgi/uwsgi.log >>>> www-data 893 0.0 0.4 84564 19308 ? S 17:15 0:00 >>>> /usr/local/bin uwsgi --ini web2py.ini >>>> www-data 996 0.0 0.3 84564 14704 ? S 17:15 0:00 >>>> /usr/local/bin uwsgi --ini web2py.ini >>>> www-data 997 0.0 0.3 84564 14704 ? S 17:15 0:00 >>>> /usr/local/bin uwsgi --ini web2py.ini >>>> www-data 998 0.0 0.3 84564 15088 ? S 17:15 0:00 >>>> /usr/local/bin uwsgi --ini web2py.ini >>>> www-data 999 0.0 0.3 84564 14840 ? S 17:15 0:00 >>>> /usr/local/bin uwsgi --ini web2py.ini >>>> adminis+ 1258 0.0 0.0 11748 916 pts/0 S+ 17:26 0:00 grep >>>> --color=auto uwsgi >>>> administrator@web1-14:/home/www-data/web2py$ >>>> >>>> >>>> >>>> On Mon, Aug 4, 2014 at 5:12 PM, Marin Pranjić <marin.pran...@gmail.com> >>>> wrote: >>>> >>>>> Is uwsgi running after restart? ps aux | grep uwsgi >>>>> >>>>> >>>>> On Tue, Aug 5, 2014 at 12:08 AM, Jim Steil <ato.st...@gmail.com> >>>>> wrote: >>>>> >>>>>> I did not. I used the script in the web2py/scripts directory. >>>>>> >>>>>> >>>>>> On Mon, Aug 4, 2014 at 5:07 PM, Marin Pranjić < >>>>>> marin.pran...@gmail.com> wrote: >>>>>> >>>>>>> Did you copy wsgihandler.py inside web2py root? >>>>>>> >>>>>>> Marin >>>>>>> >>>>>>> >>>>>>> On Mon, Aug 4, 2014 at 11:50 PM, Jim S <j...@qlf.com> wrote: >>>>>>> >>>>>>>> Clean install with all dependencies in place before installing >>>>>>>> nginx/uwsgi/web2py yields the same results. It works if I don't have >>>>>>>> pyodbc installed. >>>>>>>> >>>>>>>> Any more thoughts on what I could do for debugging? >>>>>>>> >>>>>>>> -Jim >>>>>>>> >>>>>>>> -- >>>>>>>> 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. >>>>>>>> >>>>>>> >>>>>>> -- >>>>>>> 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 a topic in >>>>>>> the Google Groups "web2py-users" group. >>>>>>> To unsubscribe from this topic, visit >>>>>>> https://groups.google.com/d/topic/web2py/Fkaz9N8bMh0/unsubscribe. >>>>>>> To unsubscribe from this group and all its topics, send an email to >>>>>>> web2py+unsubscr...@googlegroups.com. >>>>>>> >>>>>>> For more options, visit https://groups.google.com/d/optout. >>>>>>> >>>>>> >>>>>> -- >>>>>> 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. >>>>>> >>>>> >>>>> -- >>>>> 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 a topic in the >>>>> Google Groups "web2py-users" group. >>>>> To unsubscribe from this topic, visit >>>>> https://groups.google.com/d/topic/web2py/Fkaz9N8bMh0/unsubscribe. >>>>> To unsubscribe from this group and all its topics, send an email to >>>>> web2py+unsubscr...@googlegroups.com. >>>>> For more options, visit https://groups.google.com/d/optout. >>>>> >>>> >>>> -- >>>> 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. >>>> >>> >>> -- >>> 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. >>> >> >> -- >> 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 a topic in the >> Google Groups "web2py-users" group. >> To unsubscribe from this topic, visit >> https://groups.google.com/d/topic/web2py/Fkaz9N8bMh0/unsubscribe. >> To unsubscribe from this group and all its topics, send an email to >> web2py+unsubscr...@googlegroups.com. >> For more options, visit https://groups.google.com/d/optout. >> > > -- > 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. > -- 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.