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.

Reply via email to