Supervisor on Debian Wheezy: another program is already listening on a port that one of our HTTP ser

运行

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
©️2020 CSDN 皮肤主题: 大白 设计师:CSDN官方博客 返回首页