-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
启动失败 #16
Comments
早好。
可以提供版本号(或git commit),什么环境下搭建(操作系统及python版本) |
你好,cfg我是有换行的,这个应该是github给我取消了, |
用ps查下本机有没有sapic进程(或看看有没有9514端口在监听),或者直接 |
我刚刚看了一下日志,
这个是存在logs文件夹中gunicorn.log文件中的,其余两个为空 |
猜测是依赖模块版本号问题,你执行看看什么版本: |
|
对了,还有psutil版本,应该是gevent依赖psutil,然后psutil版本过高(py2),或者gevent版本过高(py2)
当下,你可以先用虚拟环境,我晚点测试下版本兼容,固定下gunicorn
…----------
该邮件从移动设备发送
--------------原始邮件--------------
发件人:"Zynismus16 ***@***.***>;
发送时间:2021年9月9日(星期四) 上午10:14
收件人:"sapicd/sapic" ***@***.***>;
抄送:"me ***@***.***>;"Comment ***@***.***>;
主题:Re: [sapicd/sapic] 启动失败 (#16)
-----------------------------------
Name: gunicorn Version: 19.10.0 Summary: WSGI HTTP Server for UNIX Home-page: http://gunicorn.org Author: Benoit Chesneau Author-email: ***@***.*** License: MIT Location: /usr/local/lib/python2.7/dist-packages Requires: --- Name: gevent Version: 21.8.0 Summary: Coroutine-based network library Home-page: http://www.gevent.org/ Author: Denis Bilenko Author-email: ***@***.*** License: MIT Location: /usr/local/lib/python2.7/dist-packages Requires: zope.interface, psutil, setuptools, zope.event, psutil, greenlet, psutil
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
|
很遗憾,我用 我注意到psutil,实际上没用到它,gevent基础依赖没有它,是扩展依赖monitor、recommended中有使用(gevent/setup.py) 建议使用虚拟环境测试下。 如果仍需帮助,可能需要提供如下信息:
|
感谢开发者开源这么棒的程序
我在搭建程序时遇到了一些问题,希望能解惑。
在进行到配置文件环节时,文档有写,加载config.py同级文件.cfg,我查找了该目录并没有发现,于是我按照配置手动创建,文件内容如下
创建完成后执行启动命令
sh online_gunicorn.sh start
报错提示
picbed/src/logs/sapic.pid: No such file or directory
我大概阅读了下,提示是指没有sapic.pid这个文件,于是我去该目录手动 创建了
但又提示
picbed/src/logs/sapic.pid, please check, exit.
我猜想该文件内容有着特殊的格式
希望开发者能解惑,
The text was updated successfully, but these errors were encountered: