阿里云ECS服务器中的Linux系统装的宝塔操作面板。

image.png

运营一段时间之后空间满了,网站打不开,清理空间之后仍然打不开发现是Apache运行不了,而且提示如下报错:

(20014)Internal error (specific information not available):

AH00058: Error retrieving pid file logs/httpd.pid

AH00059: Remove it before continuing if it is corrupted.

经过十几分钟网上搜索原因终于找到解决方法:

找到文件/www/server/apache/logs/httpd.pid,编辑该文件,随便在里面写点什么,1234都行,只要不为空,保存问题就解决了。

这种问题都有,我也真是呵呵了。

Q.E.D.


如人饮水、冷暖自知