解决supervisord启动问题

作者:StormerX
链接:https://www.jianshu.com/p/d8901ce4712b
来源:简书
简书著作权归作者所有,任何形式的转载都请联系作者获得授权并注明出处。

 

$ supervisord -c /etc/supervisor/supervisord.conf

Error: Another program is already listening on a port that one of our HTTP servers is configured touse. Shut this program down first before starting supervisord.
For help, use /usr/bin/supervisord -h

解决办法:

unlink /var/run/supervisor.sock
unlink /tmp/supervisor.sock

这个错误的原因就是supervisor.sock这个文件会被系统自动删除或者其它原因不存在了,删除软连接就可以了。
supervisor.sock生成的位置可以去supervisor的配置文件中找到。

 

 

posted @ 2019-05-27 14:21  saintdingtheGreat  阅读(753)  评论(0编辑  收藏  举报