Linux下MySQL报错:Can’t start server: can’t create PID file: No space left on device
今天帮一个朋友检查服务器,MySQL无法启动,报错的日志
Number of processes running now: 0 110413 09:30:46 mysqld restarted 110413 9:30:46 [Warning] Asked for 196608 thread stack, but got 126976 InnoDB: The log sequence number in ibdata files does not match InnoDB: the log sequence number in the ib_logfiles! 110413 9:30:46 InnoDB: Database was not shut down normally! InnoDB: Starting crash recovery. InnoDB: Reading tablespace information from the .ibd files... InnoDB: Restoring possible half-written data pages from the doublewrite InnoDB: buffer... 110413 9:30:46 InnoDB: Started; log sequence number 0 81298 110413 9:30:46 [ERROR] /usr/sbin/mysqld: Error writing file '/var/lib/mysql/u01.enimg.com.pid' (Errcode: 28) 110413 9:30:46 [ERROR] Can't start server: can't create PID file: No space left on device
原因是其中一个网站被攻击,导致日志爆满,/var分区无法写入导致,记录一下备忘 – –
支持下,我也是做WEB技术的,可否申请一下友情链接?
霜天部落:http://www.frostsky.com/
你好,并没有看到贵站的友情链接呀