uwsgi 服务启动问题 - V2EX
V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
推荐学习书目
Learn Python the Hard Way
Python Sites
PyPI - Python Package Index
http://diveintopython.org/toc/index.html
Pocoo
值得关注的项目
PyPy
Celery
Jinja2
Read the Docs
gevent
pyenv
virtualenv
Stackless Python
Beautiful Soup
结巴中文分词
Green Unicorn
Sentry
Shovel
Pyflakes
pytest
Python 编程
pep8 Checker
Styles
PEP 8
Google Python Style Guide
Code Style from The Hitchhiker's Guide
muzzy
V2EX    Python

uwsgi 服务启动问题

  •  1
     
  •   muzzy 2015-11-13 17:50:17 +08:00 4740 次点击
    这是一个创建于 3688 天前的主题,其中的信息可能已经有所发展或是发生改变。
    在启动 uwsgi9090.service 的时候报错,错误内容如下
    -- Logs begin at Wed 2015-11-11 04:19:10 CST, end at Fri 2015-11-13 17:43:54 CST. --
    Nov 13 17:42:24 iZ28bhugodhZ uwsgi[13369]: *** Operational MODE: preforking ***
    Nov 13 17:42:24 iZ28bhugodhZ uwsgi[13369]: added ../ to pythonpath.
    Nov 13 17:42:25 iZ28bhugodhZ uwsgi[13369]: WSGI app 0 (mountpoint='') ready in 1 seconds on interpreter 0x16391a0 pid: 13369 (defaul
    Nov 13 17:42:25 iZ28bhugodhZ uwsgi[13369]: *** uWSGI is running in multiple interpreter mode ***
    Nov 13 17:42:25 iZ28bhugodhZ uwsgi[13369]: spawned uWSGI worker 1 (pid: 13369, cores: 1)
    Nov 13 17:42:25 iZ28bhugodhZ uwsgi[13369]: spawned uWSGI worker 2 (pid: 13371, cores: 1)
    Nov 13 17:43:54 iZ28bhugodhZ systemd[1]: uwsgi9090.service operation timed out. Terminating.
    Nov 13 17:43:54 iZ28bhugodhZ systemd[1]: uwsgi9090.service: control process exited, code=exited status=30
    Nov 13 17:43:54 iZ28bhugodhZ systemd[1]: Failed to start uwsgi9090.

    有没有哪位知道原因
    6 条回复    2015-11-18 09:22:40 +08:00
    fatelei
        1
    fatelei  
       2015-11-13 18:45:02 +08:00
    你有试过,直接启动程序看会不会报错吗?
    muzzy
        2
    muzzy  
    OP
       2015-11-13 21:05:50 +08:00
    @fatelei 直接启动服务是不报错的,给它加到服务里启动就会报错
    lix
        3
    lix  
       2015-11-13 22:49:47 +08:00
    启动参数是什么? app 的路径改成全路径试试
    billlee
        4
    billlee  
       2015-11-14 01:05:41 +08:00
    你的 uwsgi9090.service 中的 Type 用的是什么?
    dingyaguang117
        5
    dingyaguang117  
       2015-11-15 10:05:31 +08:00 via iPhone
    看到了../这种相对路径,直觉觉得有问题
    fatelei
        6
    fatelei  
       2015-11-18 09:22:40 +08:00
    @muzzy 把完整的启动命令发出来看下
    关于     帮助文档     自助推广系统     博客     API     FAQ     Solana     3829 人在线   最高记录 6679       Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 26ms UTC 05:27 PVG 13:27 LAX 21:27 JFK 00:27
    Do have faith in what you're doing.
    ubao msn snddm index pchome yahoo rakuten mypaper meadowduck bidyahoo youbao zxmzxm asda bnvcg cvbfg dfscv mmhjk xxddc yybgb zznbn ccubao uaitu acv GXCV ET GDG YH FG BCVB FJFH CBRE CBC GDG ET54 WRWR RWER WREW WRWER RWER SDG EW SF DSFSF fbbs ubao fhd dfg ewr dg df ewwr ewwr et ruyut utut dfg fgd gdfgt etg dfgt dfgd ert4 gd fgg wr 235 wer3 we vsdf sdf gdf ert xcv sdf rwer hfd dfg cvb rwf afb dfh jgh bmn lgh rty gfds cxv xcv xcs vdas fdf fgd cv sdf tert sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf shasha9178 shasha9178 shasha9178 shasha9178 shasha9178 liflif2 liflif2 liflif2 liflif2 liflif2 liblib3 liblib3 liblib3 liblib3 liblib3 zhazha444 zhazha444 zhazha444 zhazha444 zhazha444 dende5 dende denden denden2 denden21 fenfen9 fenf619 fen619 fenfe9 fe619 sdf sdf sdf sdf sdf zhazh90 zhazh0 zhaa50 zha90 zh590 zho zhoz zhozh zhozho zhozho2 lislis lls95 lili95 lils5 liss9 sdf0ty987 sdft876 sdft9876 sdf09876 sd0t9876 sdf0ty98 sdf0976 sdf0ty986 sdf0ty96 sdf0t76 sdf0876 df0ty98 sf0t876 sd0ty76 sdy76 sdf76 sdf0t76 sdf0ty9 sdf0ty98 sdf0ty987 sdf0ty98 sdf6676 sdf876 sd876 sd876 sdf6 sdf6 sdf9876 sdf0t sdf06 sdf0ty9776 sdf0ty9776 sdf0ty76 sdf8876 sdf0t sd6 sdf06 s688876 sd688 sdf86