zhouwul 发表于 2013-5-10 09:02:42

Apache错误:(20014)Internal error: Error retrieving pid file logs/httpd.pid

在启动apache时,出现20014错误,解决方法

# 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,就可以成功了。

# echo hdskjhfdsf > /usr/local/apache/logs/httpd.pid
# service httpd start

boss44 发表于 2013-5-10 09:10:33

帮帮顶顶!!

ls0398 发表于 2013-5-17 05:13:45

长大了娶唐僧做老公,能玩就玩一玩,不能玩就把他吃掉。

lchl0388 发表于 2013-5-18 09:03:45

只有假货是真的,别的都是假的!

xq8995209 发表于 2013-5-19 19:11:51

一时的冲动,子孙的危机!

eddik 发表于 2013-5-21 02:51:59

自从我变成了狗屎,就再也没有人踩在我头上了。

竹子开花的时 发表于 2013-5-22 10:06:02

不要在一棵树上吊死,在附近几棵树上多试试死几次~
页: [1]
查看完整版本: Apache错误:(20014)Internal error: Error retrieving pid file logs/httpd.pid