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.

故事扮演 提交于 2019-11-30 10:22:27

原文出处:

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

运行

supervisord -c /etc/supervisor/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/supervisor/supervisord.conf

 

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!