Windows无法在本地计算机上启动的Apache2 - 问题 [英] Windows could not start the Apache2 on Local Computer - problem

查看:2337
本文介绍了Windows无法在本地计算机上启动的Apache2 - 问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在安装的Apache2的,我得到了以下信息进入cmd窗口:

During the installation of Apache2 I got the following message into cmd window:

安装Apache2.2服务的
  Apache2.2服务是成功的
  安装。测试的httpd.conf ....

Installing the Apache2.2 service The Apache2.2 service is successfully installed. Testing httpd.conf....

在这里报告的错误必须纠正
  前的服务可以开始。
  httpd.exe:无法可靠地
  确定服务器的完全合格
  域名,使用为192.168.1.3
  服务器名称(OS 10048)只有一个使用
  每个套接字地址(协议/网络
  地址/端口)通常是允许的。
  :make_sock:无法绑定到地址
  0.0.0.0:80没有听插座可用,关停无法
  打开日志注意错误或消息
  以上,preSS的关键,
  出口。 24 ...

Errors reported here must be corrected before the service can be started. httpd.exe: Could not reliably determine the server's fully qualified domain name , using 192.168.1.3 for ServerName (OS 10048)Only one usage of each socket address (protocol/network address/port) is normally permitted. : make_sock: could not bind to address 0.0.0.0:80 no listening sockets available, shutting down Unable to open logs Note the errors or messages above, and press the key to exit. 24...

和安装后一切看起来很好,但事实并非如此。如果我试图启动服务,我得到了以下信息:

and after installing everything look fine, but it isn't. If I try to start service I got the following message:

Windows无法启动Apache2的上
  本地计算机。了解更多信息,
  查看系统事件日志。如果这
  是一种非Micorsoft服务,接触
  与服务供应商,并参考
  服务特定的错误code 1。

Windows could not start the Apache2 on Local Computer. For more information, review the System Event Log. If this is a non-Micorsoft service, contact the service vendor, and refer to service-specific error code 1.

Apach2版本是2.2.9

Apach2 version is 2.2.9

有没有人有同样的问题,或可以帮助我。

Does anyone have the same problem, or could help me.

推荐答案

有一些其他程序侦听端口80,通常犯罪嫌疑人

There is some other program listening on port 80, usual suspects are


  1. 的Skype(侦听端口80)

  2. NOD32(添加阿帕奇到IMON例外名单它让Apache的绑定)

  3. 其他一些防病毒(同上)

办法纠正它要么关闭目前正使用80端口的程序或将其配置为使用不同的端口或配置Apache监听不同的端口在httpd.conf中的Listen指令上。在杀毒软件的情况下,配置防病毒,让Apache将您所选择的端口上绑定。

Way to correct it is either shutting down the program that's using the port 80 or configure it to use a different port or configure Apache to listen on a different port with the Listen directive in httpd.conf. In the case of antivirus configure the antivirus to allow Apache to bind on the port you have chosen.

方式来诊断应用程序,如果有的话,已绑定到端口80运行与这些选项的netstat,查找:80旁边的本地IP地址(第二列),并找到的PID(最后一栏)。然后,在任务管理器,你可以找到哪个进程具有您在previous一步得到的PID。 (您可能需要在任务管理器添加PID列)。

Way to diagnose which app, if any, has bound to port 80 is run the netstat with those options, look for :80 next to the local IP address (second column) and find the PID (last column). Then, on the task manager you can find which process has the PID you got in the previous step. (You might need to add the PID column on the task manager)

C:\\用户\\ vinko>的netstat -ao -p TCP

C:\Users\vinko>netstat -ao -p tcp

Conexiones activas

  Proto  Dirección local          Dirección remota        Estado           PID
  TCP    127.0.0.1:1110         127.0.0.1:51373        TIME_WAIT       0
  TCP    127.0.0.1:1110         127.0.0.1:51379        TIME_WAIT       0
  TCP    127.0.0.1:1110         127.0.0.1:51381        ESTABLISHED     388
  TCP    127.0.0.1:1110         127.0.0.1:51382        TIME_WAIT       0
  TCP    127.0.0.1:1110         127.0.0.1:51479        TIME_WAIT       0
  TCP    127.0.0.1:1110         127.0.0.1:51481        TIME_WAIT       0
  TCP    127.0.0.1:1110         127.0.0.1:51483        TIME_WAIT       0
  TCP    127.0.0.1:1110         127.0.0.1:51485        ESTABLISHED     388
  TCP    127.0.0.1:1110         127.0.0.1:51487        TIME_WAIT       0
  TCP    127.0.0.1:1110         127.0.0.1:51489        ESTABLISHED     388
  TCP    127.0.0.1:51381        127.0.0.1:1110         ESTABLISHED     5168
  TCP    127.0.0.1:51485        127.0.0.1:1110         ESTABLISHED     5168
  TCP    127.0.0.1:51489        127.0.0.1:1110         ESTABLISHED     5168
  TCP    127.0.0.1:59264        127.0.0.1:59265        ESTABLISHED     5168
  TCP    127.0.0.1:59265        127.0.0.1:59264        ESTABLISHED     5168
  TCP    127.0.0.1:59268        127.0.0.1:59269        ESTABLISHED     5168
  TCP    127.0.0.1:59269        127.0.0.1:59268        ESTABLISHED     5168
  TCP    192.168.1.34:51278     192.168.1.33:445       ESTABLISHED     4
  TCP    192.168.1.34:51383     67.199.15.132:80       ESTABLISHED     388
  TCP    192.168.1.34:51486     66.102.9.18:80         ESTABLISHED     388
  TCP    192.168.1.34:51490     74.125.4.20:80         ESTABLISHED     388

如果您想从侦听端口80和443禁用Skype的,你可以按照链接<一个href=\"http://www.mydigitallife.info/disable-skype-from-using-opening-and-listening-on-port-80-and-443-on-local-computer/\">http://www.mydigitallife.info/disable-skype-from-using-opening-and-listening-on-port-80-and-443-on-local-computer/

If you want to Disable Skype from listening on port 80 and 443, you can follow the link http://www.mydigitallife.info/disable-skype-from-using-opening-and-listening-on-port-80-and-443-on-local-computer/

这篇关于Windows无法在本地计算机上启动的Apache2 - 问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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