美文网首页
supervisord 启动失败 Error: Another

supervisord 启动失败 Error: Another

作者: 守星的犬 | 来源:发表于2018-12-13 16:10 被阅读38次

$ supervisord -c /etc/supervisor/supervisord.conf

Error: Another program is already listening on a port that one of our HTTP servers is configured touse. Shut this program down first before starting supervisord.
For help, use /usr/bin/supervisord -h

解决办法:

unlink /var/run/supervisor.sock
unlink /tmp/supervisor.sock

这个错误的原因就是supervisor.sock这个文件会被系统自动删除或者其它原因不存在了,删除软连接就可以了。
supervisor.sock生成的位置可以去supervisor的配置文件中找到。

相关文章

网友评论

      本文标题:supervisord 启动失败 Error: Another

      本文链接:https://www.haomeiwen.com/subject/oirbhqtx.html