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.

原文出处:

https://blog.csdn.net/hyunbar/article/details/80111947

运行

supervisord -c /etc/supervisord.conf

出现错误

Starting supervisor: 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.
For help, use /usr/bin/supervisord -h

 

解决办法

Terminal上输入

ps -ef | grep supervisord

 

获取所有supervisord正在运行的pid

root   2503  1  0 Nov19 ?  00:03:23 /usr/bin/python /usr/bin/supervisord
root   21337 2556  0 18:15 pts/8   00:00:00 grep --color=auto supervisord

 

pid=2503

kill -s SIGTERM 2503  

 

之后在重新执行

supervisord -c /etc/supervisord.conf

 

posted @ 2019-09-24 15:24  wangju003  阅读(1908)  评论(0编辑  收藏  举报