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

添加一个新项目后,如果使用

supervisord -c /etc/supervisord.conf

会报错

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

正确添加新项目的步骤如下:

#进入supervisorctl
[root@xx ~]# super supervisorctl
#重新读取配置
[root@xx ~]# read
#更新配置
[root@xx ~]# update
#查看状态
[root@xx ~]# status
#启动新添加的项目
[root@xx ~]# start xxx
#查看状态
[root@xx ~]# status
#使用tail查看日志输出是否正常

 

posted @ 2022-04-12 16:01  乱炖er  阅读(475)  评论(0编辑  收藏  举报