Linux的Apache报错(20014)Internal error: Error retrieving pid file logs/httpd.pid
生活随笔
收集整理的這篇文章主要介紹了
Linux的Apache报错(20014)Internal error: Error retrieving pid file logs/httpd.pid
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
今天在虛擬機上打開apache出現如下錯誤:
[root@www.linuxidc.com ~]# service httpd start
(20014)Internal error: Error retrieving pid file logs/httpd.pid
Remove it before continuing if it is corrupted.
其實這個錯誤就是因為Apache目錄下的 logs 子目錄下的 httpd.pid 文件內容是空的。這個文件是記錄進程ID的文件。
因為這個文件是空的,就無法啟動。你隨便寫點數字進去,再啟動Apache,就可以成功了。
[root@www.linuxidc.com ~]# echo 1234 > /usr/local/apache2/logs/httpd.pid
[root@www.linuxidc.com ~]# service httpd start
總結
以上是生活随笔為你收集整理的Linux的Apache报错(20014)Internal error: Error retrieving pid file logs/httpd.pid的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: mbo是什么意思
- 下一篇: 从偏远山区中走出一步一步走向世界 她仅仅