无法启动MySQL-设备上没有剩余空间


2

我无法在CentOS 6系统上启动MySQL。当我检查mysqllog错误时,我得到的是

121117 11:16:19 [ERROR] /usr/libexec/mysqld: Error writing file '/var/run/mysqld/mysqld.pid' (Errcode: 28) 
121117 11:16:19 [ERROR] Can't start server: can't create PID file: No space left on device 
121117 11:16:19 mysqld_safe Number of processes running now: 0

我运行了一个df -h命令,如果我没记错的话,/var/光盘使用率仅为4%。

/dev/sda6              16G   15G     0 100% /
tmpfs                 3.9G     0  3.9G   0% /dev/shm
/dev/sda1             194M   51M  134M  28% /boot
/dev/sda3            1008M  284M  674M  30% /tmp
/dev/sda5            1008M   34M  924M   4% /var/tmp
/dev/sdb1              79G  184M   75G   1% /mnt/vol1

Answers:


0

您的/var/tmp分区为4%

您的/var文件夹将/位于100%的根分区下


所以安德鲁,我该怎么做才能解决这个问题。到昨天为止一切正常。我是基于Linux的系统的新手
Raghunath 2012年

通常的做法是/var/log-清除一些旧日志(logrotate如果尚未使用,则进行设置)。您是SysAdmin吗?如果不是,请与SysAdmin交谈
Andrew
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.