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設定之後,應該就可以穩定運作。
才移機沒有多久,空間就佔滿了,看來,還是需要細部微調。
隨機文章
- Outlook增益集無法載入 (2012-10-12)
- 7zip 在windows command line的指令方式 (2017-01-03)
- [chatGPT 測試]寫一隻 Windows環境下的Python,調用ffmepg調整解析度為1080 (2024-04-23)
- UMPC-CTO技術觀—威盛科技CPU平台副處長吳億盼:多媒體、低功耗技術是UMPC的推廣關鍵 (2007-11-03)
- 灌了Windows 10進不了BIOS (2016-08-01)