cmdb icon indicating copy to clipboard operation
cmdb copied to clipboard

访问cmdb报错 no python application found,

Open realhawk1978 opened this issue 8 years ago • 3 comments

--- no python application found, check your startup logs for errors --- [pid: 16532|app: -1|req: -1/1] 127.0.0.1 () {32 vars in 340 bytes} [Tue Dec 13 10:00:59 2016] GET / => generated 21 bytes in 0 msecs (HTTP/1.1 500) 2 headers in 83 bytes (0 switches on core 0)

请问这个是怎么回事,谢谢!!

realhawk1978 avatar Dec 13 '16 02:12 realhawk1978

我用pip install uwsgi 安装了一遍就可以使用了。

godfery avatar Jan 16 '17 03:01 godfery

我用pip install uwsgi 安装了一遍就可以使用了。

godfery avatar Jan 16 '17 03:01 godfery

pip install uwsgi ##cmdb vi uwsgi #修改DAEMON=/usr/local/bin/uwsgi ###init.d cp uwsgi /etc/init.d/uwsgi /etc/init.d/uwsgi stop && /etc/init.d/uwsgi start 重启uwsgi, 用yum装的不行,因为centos6是Py2.6,这个项目需要2.7,2.7一般都是源码安装路径不一样, 估计centos7下是可以直接用的.

R1hug0 avatar Jan 29 '18 08:01 R1hug0