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設定之後,應該就可以穩定運作。
才移機沒有多久,空間就佔滿了,看來,還是需要細部微調。
隨機文章
- 三星停止惡性行銷,不再聘工讀生 (2013-04-08)
- COMODO live PCsuppor 免費防毐 防毒效率測試 (2010-03-09)
- 受保護的內容: XenServer Remove Storage CLI (2016-08-28)
- 決戰異世界4 未來復甦 觀後感 (2012-05-16)
- 內政部的官員們,腦袋是不是短路了 (2010-12-15)
![[ChatGPT] 4o的圖片視覺測試](https://chihping.aflypen.com/wp-content/uploads/2024/09/eye-4367141_640-300x200.jpg)







