Gunicorn not starting throwing gunicorn.service: Failed with result 'exit-code'. error

前端 未结 2 2049
野趣味
野趣味 2021-01-15 04:55

I\'m trying a deploy simple Django application on DigitalOcean by following this link I follow every work step by step and successfully run that project via Python manage.py

相关标签:
2条回答
  • 2021-01-15 05:28

    The latest version of gunicorn (20.0.3) can cause this problem.

    Try installing an older version of gunicorn:

    pip install gunicorn==20.0.2
    
    0 讨论(0)
  • 2021-01-15 05:40

    It seems that you are trying to listen to unix:/run/gunicorn.sock in ExecStart, but the socket is at run/gunicorn.socket. Try changing this and run systemctl daemon-reload to see if it makes a difference.

    0 讨论(0)
提交回复
热议问题