PHP程式員讓我删除一個緩存目錄我怎麼也删除不了 rm -rf mv cp 都顯示隻讀檔案系統,因為是内網伺服器我就想重新開機下試下吧。結果...啟動不起來了。(内網伺服器是調試的程式都在這上面弄不好就完了

)
我就接上顯示器一看 報的錯誤:
your system apperars to have shutdown uncleanly
Press Y within 1 seconds to force filesystem integrity check....
checking root filesystem
我就進入單使用者模式: e e = 1 回車 b
單使用者模式他會自己檢測 檔案系統 ,然後檢測失敗,輸入密碼自己手動修複。。。。
*** AN error occurred during the file system check
*** Dropping you to a shell; the systm will reboot
*** when you leave the shell
Give root password for maintenance
(or type Control-D to continue):
Login incorrect.
(Repair filesystem) 1 #
(Repair filesystem) 2 #fsck -A -y
#上次非正常關機引起的,用fsck /dev/hdaX後reboot進入,或隻用fsck來修複,隻管y回車
(Repair filesystem) 3 #init 6
結果好了。。。
本文轉自 houzaicunsky 51CTO部落格,原文連結: 13頁http://blog.51cto.com/hzcsky/475583