原文出处:
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
本文介绍了解决Supervisor启动时遇到的端口冲突问题,提供了检查正在运行的Supervisor进程PID的方法,并给出了终止进程及重启Supervisor的步骤。

2450

被折叠的 条评论
为什么被折叠?



