推荐学习书目
› 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
tohearts
V2EX  ›  Python

使用 supervisor 报错 unix:///var/run/supervisor/supervisor.sock refused connection

  •  
  •   tohearts · Jun 10, 2018 · 7156 views
    This topic created in 3030 days ago, the information mentioned may be changed or developed.

    [program:authority] command=gunicorn -c conf.py app:app directory=/www/api/RegisterServer user=root autostart=true stoprestart=true stopasgroup=true killasgroup=true

    [supervisord]

    配置文件如上: 但是运行 supervisor stop authority 老是报出 refused connection 环境: docker 下 centos7.2

    knktc
        1
    knktc  
       Jun 10, 2018
    这个一般是说明 supervisor 没启动,你再检查下 supervisor 现在的状态?
    suixn
        2
    suixn  
       Jun 10, 2018 via Android
    服务端没启动
    tohearts
        3
    tohearts  
    OP
       Jun 11, 2018
    谢谢大佬们,我试试
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   869 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 23ms · UTC 19:55 · PVG 03:55 · LAX 12:55 · JFK 15:55
    ♥ Do have faith in what you're doing.