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 @   乱炖er  阅读(608)  评论(0编辑  收藏  举报
(评论功能已被禁用)
相关博文:
阅读排行:
· 震惊!C++程序真的从main开始吗?99%的程序员都答错了
· 别再用vector<bool>了!Google高级工程师:这可能是STL最大的设计失误
· 单元测试从入门到精通
· 【硬核科普】Trae如何「偷看」你的代码?零基础破解AI编程运行原理
· 上周热点回顾(3.3-3.9)
历史上的今天:
2021-04-12 requests InsecureRequestWarning: Unverified HTTPS request is being made.
2021-04-12 pycharm更换下载源
2021-04-12 python报错:ModuleNotFoundError: No module named 'pip._internal.wheel'
点击右上角即可分享
微信分享提示