警告有关错误关机preventing阿帕奇运行? [英] Warning about bad shutdown preventing apache from running?

查看:137
本文介绍了警告有关错误关机preventing阿帕奇运行?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

一段时间以来,阿帕奇一直拒绝启动。在错误日志的唯一事情是这样的:

For some time now, Apache has been refusing to start. The only thing in the error logs is this:

[周四12月10日20点48分39秒2009] [提醒] PID
  文件
  C:/wamp/bin/apache/Apache2.2.14/logs/httpd.pid
  覆盖 - 的不正常关机
  previous运行Apache?结果[周四12月10日
  20时49分十八秒2009] [提醒] pid文件
  C:/wamp/bin/apache/Apache2.2.14/logs/httpd.pid
  覆盖 - 的不正常关机
  previous运行Apache?结果[周四12月10日
  20时50分22秒2009] [提醒] pid文件
  C:/wamp/bin/apache/Apache2.2.14/logs/httpd.pid
  覆盖 - 的不正常关机
  previous运行Apache?结果[周四12月10日
  21点07分二十秒2009] [提醒] pid文件
  C:/wamp/bin/apache/Apache2.2.14/logs/httpd.pid
  覆盖 - 的不正常关机
  previous运行Apache?结果[周四12月10日
  21时07分52秒2009] [提醒] pid文件
  C:/wamp/bin/apache/Apache2.2.14/logs/httpd.pid
  覆盖 - 的不正常关机
  previous运行Apache?

[Thu Dec 10 20:48:39 2009] [warn] pid file C:/wamp/bin/apache/Apache2.2.14/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Thu Dec 10 20:49:18 2009] [warn] pid file C:/wamp/bin/apache/Apache2.2.14/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Thu Dec 10 20:50:22 2009] [warn] pid file C:/wamp/bin/apache/Apache2.2.14/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Thu Dec 10 21:07:20 2009] [warn] pid file C:/wamp/bin/apache/Apache2.2.14/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Thu Dec 10 21:07:52 2009] [warn] pid file C:/wamp/bin/apache/Apache2.2.14/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?

看到如何,这是只是一个警告,我不明白这是如何从运行prevent阿帕奇,但它的作用。我已经重新启动计算机几次,安装和未安装该服务,但似乎没有任何工作。

Seeing how this is just a warning, I don't see how this could prevent Apache from running, yet it does. I've restarted the computer several times, installed and un-installed the service, but nothing seems to work.

这是一个常见的​​问题?或者是一些具体的事情?

Is this a common problem? Or is it something specific?

推荐答案

这是一个表示Apache正在已在运行的锁定文件。如果你杀的程序(或它管理的崩溃),并且该文件留下,该方案没有新的实例可以运行。

It's a lock file that signifies that Apache is already running. If you kill the program (or it manages to crash) and this file is left behind, no new instance of the program will run.

只要垃圾的文件,然后你可以打开Apache的一个新实例。

Simply trash the file and then you can bring up new instances of Apache.

这篇关于警告有关错误关机preventing阿帕奇运行?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆