mysql無法啟動之可能性
Number of processes running now: 0
080104 10:22:07 mysqld restarted
080104 10:22:08 InnoDB: Started; log sequence number 0 43675
080104 10:22:08 [ERROR] /usr/libexec/mysqld: Error writing file ‘/var/run/mysqld/mysqld.pid’ (Errcode: 28)
080104 10:22:08 [ERROR] Can’t start server: can’t create PID file: No space left on device
是空間滿了,以至於無法啟動MYSQL
df 查了顯示
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
234443400 222369988 0 100% /
/dev/sda1 101086 15246 80621 16% /boot
tmpfs 1035636 0 1035636 0% /dev/shm
檢查一下,是哪個滿了,解決後,再重起MySQL就正常了