2013-05-19 159 views
0

我使用Nginix,uWSGI在Ubuntu服務器上部署燒瓶應用程序。我跟着這個教程... http://www.soundrenalin.com/about錯誤:在Nginx和uwsgi燒瓶應用程序502壞網關

我是初學者在Nignix和系統管理員。

但是當我運行我的應用程序提示錯誤:502 Bad Gateway

我看着日誌文件,它說:

Starting uWSGI 1.2.3-debian (32bit) on [Sun May 19 05:39:19 2013] 
***compiled with version: 4.7.1 on 17 September 2012 17:20:40 detected number of CPU cores: 1 current working directory: /etc/uwsgi/apps-enabled detected binary path: /usr/bin/uwsgi-core your memory page size is 4096 bytes detected max file descriptor number: 1024 
lock engine: pthread robust mutexesunlink(): Operation not permitted [socket.c line 75] 
bind(): Address already in use [socket.c line 107] removed uwsgi instance flaskapp.ini 

爲什麼發生這種情況?請建議

回答