apache不能启动一例
一测试机执行apache启动命令时报错,
/usr/local/apache2/bin/apachectl start
(20014)Internal error: AH00058: Error retrieving pid file logs/httpd.pid
AH00059: Remove it before continuing if it is corrupted.
由于不正当关闭服务造成的问题,删除 httpd.pid
进入apache目录后,确有httpd.pid文件,大小为0,rm删除后,可以启动apache了。好像是测试机电源较早前非正常中断过。