gunicorn 启动问题,启动不了
终端输入
nohup /usr/local/bin/python /usr/local/bin/gunicorn -k gevent -b 0.0.0.0:8080
data.svnup-20150206.aiyou-api.aiyou_chatserver:application &
然后显示
nohup: 忽略输入并把输出追加到"nohup.out"
但是会自动中断
[1]+ Exit 1 nohup /usr/local/bin/python /usr/local/bin/gunicorn -k gevent
-b 0.0.0.0:8080 data.svnup-20150206.aiyou-api.aiyou_chatserver:application&
进程里面也没有,这个问题该如何解决?求教!
补充调试信息:
[1] 28684
[root@api-test aiyou-api]$[2015-08-03 10:58:21 +0000] [28684] [INFO] Starting gunicorn 19.3.0
[2015-08-03 10:58:21 +0000] [28684] [ERROR] Connection in use: ('0.0.0.0', 8080)
[2015-08-03 10:58:21 +0000] [28684] [ERROR] Retrying in 1 second.
[2015-08-03 10:58:22 +0000] [28684] [ERROR] Connection in use: ('0.0.0.0', 8080)
[2015-08-03 10:58:22 +0000] [28684] [ERROR] Retrying in 1 second.
[2015-08-03 10:58:23 +0000] [28684] [ERROR] Connection in use: ('0.0.0.0', 8080)
[2015-08-03 10:58:23 +0000] [28684] [ERROR] Retrying in 1 second.
[2015-08-03 10:58:24 +0000] [28684] [ERROR] Connection in use: ('0.0.0.0', 8080)
[2015-08-03 10:58:24 +0000] [28684] [ERROR] Retrying in 1 second.
[2015-08-03 10:58:25 +0000] [28684] [ERROR] Connection in use: ('0.0.0.0', 8080)
[2015-08-03 10:58:25 +0000] [28684] [ERROR] Retrying in 1 second.
[2015-08-03 10:58:26 +0000] [28684] [ERROR] Can't connect to ('0.0.0.0', 8080)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
我只是想问一下,后台运行的话,为何不用-D参数呢,
你不用nohup 看看调试有什么打印信息
忽略输入应该指的是忽略了&符号
碰见了同样的问题,问题是怎么解决的,能share下吗?