屌丝王站长 大佬有话说 :
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.
宝塔面板 提示这个
ssehzt 大佬有话说 :
提示很明显了啊,
不会的话,就重启服务器,
bianco 大佬有话说 :
其实这个错误就是因为Apache目录下的 logs 子目录下的 httpd.pid 文件内容是空的。这个文件是记录进程ID的文件。因为这个文件是空的,就无法启动,实在是超雷人。你随便写点数字进去,再启动Apache,就可以成功了:
echo 1234 > httpd.pid。
或者 Just move/rename the httpd.pid file as httpd.pid.bk然后重启以皆上谷歌所得 可以试试看哦