supervisord 启动失败 Error: Another program is already listening on a port that one of our HTTP servers is configured to use. Shut this program down first before starting supervisord.

Linux系统中 Supervisor 配置守护进程:
启动Supervisor 服务语句:

supervisord -c /etc/supervisor/supervisord.conf

img

解决办法:

执行下面语句

unlink /var/run/supervisor.sock

unlink /tmp/supervisor.sock 

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

posted @ 2020-08-11 11:29  你的小可爱吖  阅读(2443)  评论(0编辑  收藏  举报