Looks like an issue with paste.deploy here. If it were me I'd try reinstalling uwsgi. Did you use a web2py script to install everything on centos? I'm more of an ubuntu guy and am not familiar with the specifics of a centos install or how to get web2py on it.
-Jim On Wed, Feb 8, 2017 at 9:03 AM, Áureo Dias Neto <[email protected]> wrote: > I restart the nginx, and it is the new log file > > 2017-02-08 12:28 GMT-02:00 Áureo Dias Neto <[email protected]>: > >> and the log is only this >> >> 2017-02-08 12:24 GMT-02:00 Áureo Dias Neto <[email protected]>: >> >>> on a python shell the import work.. >>> >>> from the command 'pip list' : pip: command not found >>> >>> 2017-02-08 12:11 GMT-02:00 Jim Steil <[email protected]>: >>> >>>> Or, from a linux shell type: >>>> >>>> pip list >>>> >>>> To see what packages are installed. >>>> >>>> Anyone else know how to disable MySQLdb in web2py? >>>> >>>> -Jim >>>> >>>> On Wed, Feb 8, 2017 at 8:10 AM, Jim Steil <[email protected]> wrote: >>>> >>>>> Open a python shell >>>>> >>>>> import MySQLdb >>>>> >>>>> Does it work or give you an error? >>>>> >>>>> -Jim >>>>> >>>>> >>>>> On Wed, Feb 8, 2017 at 7:54 AM, Áureo Dias Neto < >>>>> [email protected]> wrote: >>>>> >>>>>> How to check if mysqldb is installed ? i dont need this for sqlite, >>>>>> right? >>>>>> >>>>>> i will check now the log and reupload it, thanks >>>>>> >>>>>> 2017-02-08 11:49 GMT-02:00 Jim Steil <[email protected]>: >>>>>> >>>>>>> Is MySQLdb installed on the server? >>>>>>> >>>>>>> http://www.web2py.com/books/default/chapter/29/06/the-databa >>>>>>> se-abstraction-layer#The-database-abstraction-layer >>>>>>> >>>>>>> Also, was that they entire uwsgi log? If not, can you upload it? >>>>>>> >>>>>>> -Jim >>>>>>> >>>>>>> On Wed, Feb 8, 2017 at 7:40 AM, Áureo Dias Neto < >>>>>>> [email protected]> wrote: >>>>>>> >>>>>>>> i dont want mysql, i use sqlite.. how to desactive mysqldb? >>>>>>>> >>>>>>>> and if is permission, how to set, and what's the paths? >>>>>>>> >>>>>>>> >>>>>>>> 2017-02-08 11:35 GMT-02:00 Jim Steil <[email protected]>: >>>>>>>> >>>>>>>>> Seems to me there was a problem importing MySQLdb. Is there more >>>>>>>>> to this log? Seems like there should be more to that traceback. >>>>>>>>> >>>>>>>>> If I had to guess I'd say it's an issue with permissions. >>>>>>>>> >>>>>>>>> Can you go to the python shell and import MySQLdb? Can you do it >>>>>>>>> as the user running uwsgi? >>>>>>>>> >>>>>>>>> -Jim >>>>>>>>> >>>>>>>>> On Wed, Feb 8, 2017 at 7:12 AM, Áureo Dias Neto < >>>>>>>>> [email protected]> wrote: >>>>>>>>> >>>>>>>>>> Anyone can help >>>>>>>>>> >>>>>>>>>> 2017-02-08 0:34 GMT-02:00 Áureo Dias Neto < >>>>>>>>>> [email protected]>: >>>>>>>>>> >>>>>>>>>>> Is here, sorry >>>>>>>>>>> >>>>>>>>>>> 2017-02-08 0:27 GMT-02:00 Jim S <[email protected]>: >>>>>>>>>>> >>>>>>>>>>>> What about the uwsgi log? >>>>>>>>>>>> >>>>>>>>>>>> -Jim >>>>>>>>>>>> >>>>>>>>>>>> On Tuesday, February 7, 2017 at 3:42:10 PM UTC-6, Áureo Dias >>>>>>>>>>>> Neto wrote: >>>>>>>>>>>>> >>>>>>>>>>>>> And, the nginx conf file >>>>>>>>>>>>> >>>>>>>>>>>>> 2017-02-07 19:17 GMT-02:00 Áureo Dias Neto < >>>>>>>>>>>>> [email protected]>: >>>>>>>>>>>>> >>>>>>>>>>>>>> I have the 502 bad gateway error, on nginx + centos + uwsgi.. >>>>>>>>>>>>>> it's work's great, but after restart the server system, i get >>>>>>>>>>>>>> the error.. i >>>>>>>>>>>>>> atached the config files and nginx error log >>>>>>>>>>>>>> >>>>>>>>>>>>>> any ide0? >>>>>>>>>>>>>> >>>>>>>>>>>>>> -- >>>>>>>>>>>>>> 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 [email protected]. >>>>>>>>>>>>>> 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 [email protected]. >>>>>>>>>>>> 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/DfeDT6AyEmg/unsubscribe. >>>>>>>>>> To unsubscribe from this group and all its topics, send an email >>>>>>>>>> to [email protected]. >>>>>>>>>> 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 [email protected]. >>>>>>>>> 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/DfeDT6AyEmg/unsubscribe. >>>>>>>> To unsubscribe from this group and all its topics, send an email to >>>>>>>> [email protected]. >>>>>>>> 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 [email protected]. >>>>>>> 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/to >>>>>> pic/web2py/DfeDT6AyEmg/unsubscribe. >>>>>> To unsubscribe from this group and all its topics, send an email to >>>>>> [email protected]. >>>>>> 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 [email protected]. >>>> 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/DfeDT6AyEmg/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > 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 [email protected]. For more options, visit https://groups.google.com/d/optout.

