一、前言
Job for mysqld.service failed because the control process exited with error code. See "systemctl status mysqld.service" and "journalctl -xe" for details. 這個問題實在 Linux 中使用 Supervisor 遇見的。
二、解決方案
使用 netstat -ntpl 把有關 python 的端口都殺掉,然后在重行執行 systemctl start supervisor.service 就好了。很多時候都是端口暫用問題。這個問題沒有截圖,原因是解決完了,而后就關閉sh,看是否可行的因故,有機會在截圖補上。
三、Supervisor 9001 沒反應問題
還有一個問題就是后天可以管理進程,然后在瀏覽器端輸入:ip:9001時,沒有網站跳出。我們需要在控制台
supervisorctl reload