首页 > Web开发 > 详细

XAMPP--Apache服务无法启动问题定位及处理

时间:2014-10-19 19:52:08      阅读:431      评论:0      收藏:0      [点我收藏+]

一、问题简述:

  XAMPP 在使用一段时间后,Apache服务无法启动。

二、详细描述:

  安装Xampp服务器套件之后,部署使用正常。一段时间未使用,再次打开时,Apache服务无法启动。错误提示如下:

11:28:29  [Apache]     Status change detected: running
11:28:30  [Apache]     Status change detected: stopped
11:28:30  [Apache]     Error: Apache shutdown unexpectedly.
11:28:30  [Apache]     This may be due to a blocked port, missing dependencies,
11:28:30  [Apache]     improper privileges, a crash, or a shutdown by another method.
11:28:30  [Apache]     P

ress the Logs button to view error logs and check
11:28:30  [Apache]     the Windows Event Viewer for more clues
11:28:30  [Apache]     If you need more help, copy and post this
11:28:30  [Apache]     entire log window on the forums

三、分析与定位:

  界面提示:可能是Port Blocked,详细日志可以打开日志文件查看。点击“Logs”——》“Apache(error.log)”查找到如下错误信息:

bubuko.com,布布扣

  

四、处理步骤:

  进入DOS控制台,查看443端口是否被占用。netstat -nao,查找到占用些PORT的进程的PID,然后使用ListTask 命令找到PID对应的进程名,Kill掉它,或从根本上解决这个问题(如不能并存,卸载它或Config文件中更换Port)。

  图一:使用netstat -nao | findstr ":443"

  bubuko.com,布布扣

 

  图二:使用tasklist | findstr "2652" 找出使用此进程号的软件

  bubuko.com,布布扣

 

  任务管理器中,结果些进程。(当然这里是我已经处理好后的截图,已经是HTTPD进程了)

 

五、结果:

  重启一次Apache,正常启动。

XAMPP--Apache服务无法启动问题定位及处理

原文:http://www.cnblogs.com/MrCandy/p/4035270.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!