首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >uWSGI配置问题: uwsgi失败,没有任何错误消息。

uWSGI配置问题: uwsgi失败,没有任何错误消息。
EN

Stack Overflow用户
提问于 2012-10-07 23:43:41
回答 1查看 2.6K关注 0票数 0

在第一次配置uwsgi django应用程序时,我遇到了奇怪的错误。NGIX (根据文档配置)以502 Bad Gateway response响应。

Uwsgi日志没有给出明显的错误:

代码语言:javascript
复制
  Sun Oct  7 17:36:31 2012 - *** Starting uWSGI 1.2.3-debian (64bit) on [Sun Oct  7 17:36:31 2012] ***
  Sun Oct  7 17:36:31 2012 - compiled with version: 4.7.1 on 13 September 2012 19:07:14
  Sun Oct  7 17:36:31 2012 - detected number of CPU cores: 2
  Sun Oct  7 17:36:31 2012 - current working directory: /
  Sun Oct  7 17:36:31 2012 - writing pidfile to /run/uwsgi/app/lfitjcmsjb/pid
  Sun Oct  7 17:36:31 2012 - detected binary path: /usr/bin/uwsgi-core
  Sun Oct  7 17:36:31 2012 - setgid() to 33
  Sun Oct  7 17:36:31 2012 - setuid() to 33
  Sun Oct  7 17:36:31 2012 - your memory page size is 4096 bytes
  Sun Oct  7 17:36:31 2012 - detected max file descriptor number: 1024
  Sun Oct  7 17:36:31 2012 - lock engine: pthread robust mutexes
  Sun Oct  7 17:36:31 2012 - uwsgi socket 0 bound to UNIX address /run/uwsgi/app/lfitjcmsjb/socket fd 3
  Sun Oct  7 17:36:31 2012 - uwsgi socket 1 bound to UNIX address /tmp/lfitj.sock fd 5
  Sun Oct  7 17:36:31 2012 - your server socket listen backlog is limited to 100 connections
  Sun Oct  7 17:36:31 2012 - *** Operational MODE: preforking ***
  Sun Oct  7 17:36:31 2012 - *** no app loaded. going in full dynamic mode ***
  Sun Oct  7 17:36:31 2012 - *** uWSGI is running in multiple interpreter mode ***
  Sun Oct  7 17:36:31 2012 - spawned uWSGI master process (pid: 5141)
  Sun Oct  7 17:36:31 2012 - spawned uWSGI worker 1 (pid: 5144, cores: 1)
  Sun Oct  7 17:36:31 2012 - spawned uWSGI worker 2 (pid: 5145, cores: 1)
  Sun Oct  7 17:37:57 2012 - -- unavailable modifier requested: 0 --
EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2012-10-07 23:43:41

uWSGI日志显示错误-它是:

代码语言:javascript
复制
 -- unavailable modifier requested: 0 --

这基本上意味着python插件丢失了-你需要安装它。在debian上,你需要安装uwsgi-plugin-python

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/12770239

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档