设为首页收藏本站

嘻皮客娱乐学习网

 找回密码
 中文注册
搜索
打印 上一主题 下一主题
开启左侧

[建站知识] Apache2服务因1(0x1)服务性错误而停止的解决方法

[复制链接]
跳转到指定楼层
楼主
发表于 2014-10-29 15:44:06 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
Apache2服务因1(0x1)服务性错误而停止的解决方法

                                                                                               
                    上篇文章我们讲到Win XP IIS不能建立多个网站,所以就想着安装一个Apache服务器。具体安装方法可以查看Windows下安装Apache+PHP+MySQL的方法(附图)。安装完成后,启动Apache报错,Apache2服务因1(0x1)服务性错误而停止。查看了Windows的错误日志(计算机管理-事件查看器)发现错误信息有好几条:
The Apache service named  reported the following error:
>>> Unable to open logs.
The Apache service named  reported the following error:
>>> Warning: DocumentRoot [F:/var/www/fanjiexi] does not exist.
The Apache service named  reported the following error:
>>> no listening sockets available, shutting down.
最关键的信息应该是最后一条,看起来似乎默认的监听端口不可使用。我的Apache默认端口是80,应该是80端口被占用了,干掉80端口使用的程序或者更改Apache的默认端口即可解决此问题。具体方法请看: Apache80端口被占用,修改IIS80端口的方法。
回复

使用道具 举报

小黑屋|手机版|嘻皮客网 ( 京ICP备10218169号|京公网安备11010802013797  

GMT+8, 2024-5-9 04:11 , Processed in 0.180532 second(s), 24 queries , Gzip On.

Powered by Discuz! X3.3

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表