service mysql restart
(systemctl restart mysql)
出現錯誤訊息
mysql.service: Failed with result ‘exit-code’.
Job for mysql.service failed because the control process exited with error code. See “systemctl status mysql.service” and “journalctl -xe” for details.
systemctl status mysql.service
仔細看了LOG之後,才知道是硬碟空間滿了,所以才無法順利運作。
Mysql的部份binlog佔了很大的空間,直接刪掉,再啟動服務,就順利運作。
再來處理nginx / php7.4 這些系統的log之後
後來再做log rotate設定之後,應該就可以穩定運作。
才移機沒有多久,空間就佔滿了,看來,還是需要細部微調。
隨機文章
- 要不是我手機壞了 我不知道Dropbox連結裝置改成3個 (2019-06-16)
- PHP 按日期排序DB的問題 (2011-01-02)
- 在台灣 用微軟TEAMS應該不邊緣吧? 2022/7/21 為什麼停止服務,沒有新聞報導? (2022-07-21)
- 兩光的利達無線電計程車 (2011-02-16)
- HP Pavilion a5000網卡Driver (2009-08-27)