error: Apache shutdown unexpectedly.

本地前端xmapp apache突然不能启动了,

报错

15:36:48 [Apache] Error: Apache shutdown unexpectedly.
15:36:48 [Apache] This may be due to a blocked port, missing dependencies,
15:36:48 [Apache] improper privileges, a crash, or a shutdown by another method.
15:36:48 [Apache] Press the Logs button to view error logs and check
15:36:48 [Apache] the Windows Event Viewer for more clues
15:36:48 [Apache] If you need more help, copy and post this
15:36:48 [Apache] entire log window on the forums

网上找到方法不是很合适:

①改httpd.conf和httpd-ssl.conf中的端口号 :吧80和443分别改成不常用的端口号如8001 4431,但是强迫症不行啊。

②netstat -ano 查找使用80端口的进程,我的是pid 4 ,再tasklist找到pid4 ,是system,找了半天分不清到底是哪个system service。

最终方法

用admin 打开cmd,net stop http,提示print spools和branch cache在使用。 查了下好像也没什么大用,直接y,终止。

启动apache成功。 

转载于:https://www.cnblogs.com/lizhang4/p/10375599.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值