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

打开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 26155027_wwWJ.png 26155027_yXGK.png 26155027_aGjA.gif 
/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 26155027_wwWJ.png 26155027_yXGK.png 26155027_aGjA.gif 
/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

转载于:https://my.oschina.net/u/136923/blog/147302

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值