Can’t create/write to file ‘/tmp/ (Errcode: 30)

原创
2013/07/26 15:50
阅读数 1K

打开web网站,进入用户信息编辑界面,出现错误:

UCenter info: MySQL Query Error
SQL:SELECT a.*,b.region_name as tworegion,c.region_name as oneregion FROM [Table]members as a LEFT JOIN [Table]region as b ON a.region_id=b.region_id LEFT JOIN [Table]region as c ON b.parent_id=c.region_id WHERE uid='332' 
Error:File './cking_ucenter/[Table]region.MYD' not found (Errcode: 30)
Errno:29

使用 chkconfig --list 命令,提示 总线错误。

提交问题给北京联通易享云,技术支持说主机磁盘有坏块,文件系统坏了。

原来人家的云主机是假的啊,根本没有容错性?

今天通过CRT连接云主机,慢如蜗牛。

==============================

one zen cart website’s front page got corrupted,the error message looks like:

Can’t create/write to file ‘/tmp/#sql_ .MYI’ (Errcode: 30)
i tried to restart mysql server with

Source code    
/etc/init.d/mysqld restart

but the problem still no solved

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.

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:

lsof /tmp

Run the following commands (in that order):

Source code    
/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

展开阅读全文
打赏
0
0 收藏
分享
加载中
更多评论
打赏
0 评论
0 收藏
0
分享
返回顶部
顶部