我有管理员设置来管理一些流程.当我启动我的服务器时,它工作得很好,但是当我停止它并尝试再次启动它失败并给我这个错误消息:
* Starting Supervisor daemon manager... 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 ...fail!
我正在端口80上运行nginx,在端口8000,8001,18002,8003上运行4个Web服务器
有没有人知道发生了什么?
当我重新启动一切正常.
解决方法
刚刚碰到这个.我通过以下任何一种方法修复它:
sudo unlink /tmp/supervisor.sock sudo unlink /var/run/supervisor.sock
这个.sock文件在/etc/supervisord.conf的[unix_http_server]的文件配置值中定义(默认为/tmp/supervisor.sock或/var/run/supervisor.sock).
希望这可以帮助将来的某个人.