Error establishing a database connection

刚才发现 访问 lshuzhi.com 报错:

Error establishing a database connection

查看日志,  结果发现,硬盘满了

[Warning] Disk is full writing ‘./mysql-bin.000115’ (Errcode: 28). Waiting for someone to free space… (Expect up to 60 secs delay for server to continue after freeing disk space)

谁占据了硬盘空间呢?

du -a /var | sort -n -r | head -n 10

居然是一个叫asterisk的软件惹的祸

删除那些文件并且卸载asterisk:

yum remove asterisk

世界平静了

 

 

 

Leave a Reply

Your email address will not be published. Required fields are marked *