一. Supervisor 安裝
請移至 : https://blog.51cto.com/qiangsh/2153185
二. Supervisord 常見錯誤
- 執(zhí)行 supervisorctl 報錯
[root@rx47105180123 /]# supervisorctl
unix:///tmp/supervisor.sock refused connection
#解決方法:
supervisord -c /etc/supervisor/supervisord.conf #啟動 Supervisor 服務
- 執(zhí)行 supervisord -c /etc/supervisor/supervisord.conf 報錯
[root@rx47105180123 /]# supervisord -c /etc/supervisor/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
#解決方法:
find / -name supervisor.sock
unlink supervisor.sock