# 开启一个http的服务,方便外部访问: # 修改完成之后需要重启 supervisor, reload是不会生效的; [inet_http_server] ; inet (TCP) server disabled by default port=0.0.0.0:10080 ; (ip_address:port specifier, *:port for all iface) username=user ; (default is no username (open server)) password=123 ; (default is no password (open server))
[root@test-qingzhou-01 supervisor]# /usr/local/bin/supervisord -c ./supervisrd.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.
[root@test-qingzhou-01 supervisor]# find / -name supervisor.sock /run/supervisor/supervisor.sock /var/lib/docker/overlay2/d6de9ac36e7b3c66fed11ddb3cf384a18932d3f8044dda5bb2247476604acd71/diff/run/supervisor.sock /var/lib/docker/overlay2/d6de9ac36e7b3c66fed11ddb3cf384a18932d3f8044dda5bb2247476604acd71/merged/run/supervisor.sock [root@test-qingzhou-01 supervisor]# unlink /run/supervisor/supervisor.sock [root@test-qingzhou-01 supervisor]# unlink /var/lib/docker/overlay2/d6de9ac36e7b3c66fed11ddb3cf384a18932d3f8044dda5bb2247476604acd71/diff/run/supervisor.sock [root@test-qingzhou-01 supervisor]# unlink /var/lib/docker/overlay2/d6de9ac36e7b3c66fed11ddb3cf384a18932d3f8044dda5bb2247476604acd71/merged/run/supervisor.sock unlink: cannot unlink ‘/var/lib/docker/overlay2/d6de9ac36e7b3c66fed11ddb3cf384a18932d3f8044dda5bb2247476604acd71/merged/run/supervisor.sock’: No such file or directory