Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I am not able to start MySQL, on a CentOS 6 system. When I checked in the mysqllog the error I get is

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

I ran a df -h command and if I am not wrong, /var/ disc usage is 4% only.

/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
share|improve this question
add comment

1 Answer 1

up vote 0 down vote accepted

Your /var/tmp partition is at 4%

Your /var folder will be under the / root partition which is at 100%

share|improve this answer
    
so andrew what can i do to resolve this. Till yesterday it was working fine. I am new to linux based systems –  Raghunath Nov 17 '12 at 7:51
    
The usual hog is /var/log - purge some of the old logs (and setup logrotate if you aren't already using it). Are you SysAdmin? If not, talk to the SysAdmin –  Andrew Nov 17 '12 at 7:59
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.