Error: Another program is already listening on a port that one of our HTTP servers is configured to

Posted kaerxifa

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Error: Another program is already listening on a port that one of our HTTP servers is configured to相关的知识,希望对你有一定的参考价值。

原文出处:

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

 

以上是关于Error: Another program is already listening on a port that one of our HTTP servers is configured to的主要内容,如果未能解决你的问题,请参考以下文章

win7安装vmware workstation8时,提示443端口This port is in use by another program,怎么解决?

异常dpkg: error: dpkg frontend is locked by another process

dpkg: error: dpkg status database is locked by another process 解决方法

Solr 6.6.0 ERROR: Port 8983 is already being used by another process.

Visual Studio 2017 error: Unable to start program, An operation is not legal in the current state(示例

Visual Studio 2017 error: Unable to start program, An operation is not legal in the current state(示例