开启supersivor时报错
输入命令:
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.
For help, use /usr/bin/supervisord -h
错误解读:
端口占用错误
解决办法:
1.首先杀死相关的进程
2.解决pycharm编辑器的换行符与远程服务器换行符不兼容的问题
3.打开supervisord.conf文件,去掉注释
之前是:
;[include]
;files = /etc/supervisor/*.conf
现在改为
[include]
files = /etc/supervisor/*.conf
注意: ';'是注释符号
浙公网安备 33010602011771号