Supervisor操作命令
-
重新加載 Supervisor 配置:
sudo supervisorctl reread sudo supervisorctl update sudo supervisorctl restart all
這將重新讀取 Supervisor 的配置文件,更新進(jìn)程組,然后重啟所有進(jìn)程。
-
查看 Supervisor 日志:
sudo cat /var/log/supervisor/supervisord.log
這將顯示 Supervisor 的日志文件,您可以查看其中的錯(cuò)誤信息以獲取更多細(xì)節(jié)。
Supervisorctl異常Case及解決方案
第一種錯(cuò)誤Case?
supervisord -c /etc/supervisord.conf
錯(cuò)誤?
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 /bin/supervisord -h
第二種錯(cuò)誤Case?
supervisorctl status
錯(cuò)誤?
error: <class 'xmlrpclib.Fault'>, <Fault 6: 'SHUTDOWN_STATE'>: file: /usr/lib64/python2.7/xmlrpclib.py line: 794
第三種錯(cuò)誤Case?
supervisorctl restart all
錯(cuò)誤?
error: <class 'xmlrpclib.Fault'>, <Fault 6: 'SHUTDOWN_STATE'>: file: /usr/lib64/python2.7/xmlrpclib.py line: 794
第四種錯(cuò)誤Case?
supervisorctl reread && supervisorctl update all
錯(cuò)誤?
ERROR: supervisor shutting down
ERROR: already shutting down
Supervisorctl解決方案?
ps -aux|grep supervisor
kill -9 the_pid
supervisord
supervisorctl status
文章來(lái)源:http://www.zghlxwxcb.cn/news/detail-855934.html
https://github.com/Supervisor/supervisor/issues/48文章來(lái)源地址http://www.zghlxwxcb.cn/news/detail-855934.html
到了這里,關(guān)于解決方案 SHUTDOWN_STATE xmlrpclib.py line: 794 && ERROR: supervisor shutting down的文章就介紹完了。如果您還想了解更多內(nèi)容,請(qǐng)?jiān)谟疑辖撬阉鱐OY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!