命令行启动supervisor时,报:Error: could not find config file

本文讲述了在启动Supervisord时遇到的配置文件路径错误和端口占用问题,通过修正路径和正确关闭占用的程序来解决问题。涉及的操作包括修改命令行参数和使用`pkillsupervisord`来释放端口。
摘要由CSDN通过智能技术生成
supervisord -c ./username/data/doctor_online/main_server/supervisord.conf

报:Error: could not find config file ./username/data/doctor_online/main_server/supervisord.conf
For help, use /root/anaconda3/bin/supervisord -h

实际我的文件中有config文件,是因为我的命令写错了,常识性的错误:路径写错了
正确的命令:

supervisord -c ~/username/data/doctor_online/main_server/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.

已经被占用
进行杀进程:

 pkill supervisord

再次执行命令:

supervisord -c ~/username/data/doctor_online/main_server/supervisord.conf

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值