提交問題給北京聯通易享雲,技術支持說主機磁盤有壞塊,文件系統壞了。 php
原來人家的雲主機是假的啊,根本沒有容錯性? html
今天經過CRT鏈接雲主機,慢如蝸牛。 mysql
============================== web
Can’t create/write to file ‘/tmp/#sql_ .MYI’ (Errcode: 30)
i tried to restart mysql server with sql
/etc/init.d/mysqld restart
but the problem still no solved bash
i found that the zen cart backend home page is ok from browse.so i tried to repair the table according to the error message,but still no. app
after a while search,i got the solution as below: 網站
It is likely that your /usr/tmpDSK is corrupted. You should stop all processes that have files open on /tmp such as MySQL and other applications using: ui
lsof /tmp spa
Run the following commands (in that order):
/bin/umount -l /tmp #umount tmp /bin/umount -l /var/tmp # umount /var/tmp /bin/rm -fv /usr/tmpDSK # remove /usr/tmpDSK
/scripts/securetmp #recreate
This should create a new /tmp partition for you. That’s all .This will take a while to run.and keep in mind that only server with Cpanel have /scripts/securetmp script.You will have to recreate yourself if you are not running Cpanel.
Someone says restart the system sometimes fixes the problem.
FYI:
http://www.zen-cart.com/showthread.php?66249-Can-t-create-write-to-file-tmp-%28Errcode-30%29/page2