在AMH面板中創(chuàng)建了一個網(wǎng)站侍咱,然后有一天發(fā)現(xiàn)服務(wù)器的硬盤內(nèi)存不夠了耐床,準(zhǔn)備刪除一些無用的網(wǎng)站,然后在服務(wù)器中運(yùn)行刪除命令楔脯,
rm -rf /home/wwwroot/mail.pslove.cn/tmp
結(jié)果出現(xiàn).......(..什么情況-_-!)
然后各種百度撩轰,先是翻譯了一下(個人英語不太好0.......0!),然后結(jié)果出現(xiàn)了“”無法刪除設(shè)備或資源繁忙“”堪嫂;
然后發(fā)現(xiàn)刪除不掉的是個.sql文件偎箫,然后這里數(shù)據(jù)庫運(yùn)行著,當(dāng)然會出現(xiàn)資源繁忙(也就是文件正在運(yùn)行)皆串,
此時就應(yīng)該先停止數(shù)據(jù)庫淹办,刪除,然后再次打開
即: 服務(wù)器面板運(yùn)行
停止數(shù)據(jù)庫恶复。
[AMH] MySQL Management please select: (1~6)1) start 3) restart 5) force-reload2) stop 4) reload 6) exit#? 2 /////////這里選擇2是停止數(shù)據(jù)庫Shutting down MySQL. SUCCESS![OK] MySQL stop /////////數(shù)據(jù)庫已經(jīng)停止
[root@VM_34_8_centos 3g.pslove.cn]# amh mysqlshell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directoryshell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory=============================================================[LNMP/Nginx] Amysql Host - AMH 4.2http://Amysql.com
[AMH] MySQL Management please select: (1~6)1) start 3) restart 5) force-reload2) stop 4) reload 6) exit#? 1 //////選擇1打開數(shù)據(jù)庫shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directorychdir: error retrieving current directory: getcwd: cannot access parent directories: No such file or directoryStarting MySQL.. SUCCESS![OK] MySQL start ////////數(shù)據(jù)庫已經(jīng)運(yùn)行
0........0然后問題就這么愉快的解決了