记录一次apache启动失败的故障排除过程
2015-08-28 00:00
826 查看
摘要: 因为经常会遇到apache启动失败的问题。记录下来,望以后能处理起来有点头绪
今天在本地配置了新的域名后突然发现Apache启动不了了,一时想不起原因,在百度搜到的方法如下:
废话不多说了,win+R 输入 eventvwr.msc启动系统错误日志,点击右侧的windows日志,再点开下面的应用程序,然后会发现中间的方框会有很多错误记录,双击打开一条,可以看到错误信息为:
The Apache service named reported the following error:
>>> Invalid command 'multiple', perhaps misspelled or defined by a module not included in the server configuration .
看到Invalid comman 'multiple',我发现目前我只有修改了httpd-vhosts.conf,于是在这个文件中搜索‘multiple’,找到一行:
multiple domains/hostnames on your
这一行前面竟然没有#号,带#号的都是注释,它出现在这里肯定是不行的,想想应该是刚才不小心按到了回车键,在这一行前面加上了一个#号后,重新启动,发现问题解决啦~
今天在本地配置了新的域名后突然发现Apache启动不了了,一时想不起原因,在百度搜到的方法如下:
废话不多说了,win+R 输入 eventvwr.msc启动系统错误日志,点击右侧的windows日志,再点开下面的应用程序,然后会发现中间的方框会有很多错误记录,双击打开一条,可以看到错误信息为:
The Apache service named reported the following error:
>>> Invalid command 'multiple', perhaps misspelled or defined by a module not included in the server configuration .
看到Invalid comman 'multiple',我发现目前我只有修改了httpd-vhosts.conf,于是在这个文件中搜索‘multiple’,找到一行:
multiple domains/hostnames on your
这一行前面竟然没有#号,带#号的都是注释,它出现在这里肯定是不行的,想想应该是刚才不小心按到了回车键,在这一行前面加上了一个#号后,重新启动,发现问题解决啦~
相关文章推荐
- Apache开启mod_deflate压缩网页后输出
- Apache多域名映射多个端口
- Apache Thrift - 可伸缩的跨语言服务开发框架
- Apache安装
- org.apache.catalina.LifecycleException
- 【Apache KafKa系列之一】KafKa安装部署
- org.apache.axis2.AxisFault: The AXIS engine could not find a target service to invoke! targetServic
- org.apache.axis2.AxisFault: No such operation 'plus'
- php apache phpmyadmin mysql环境安装
- java.lang.NoClassDefFoundError: org/apache/commons/codec/DecoderException
- java报错-java.lang.ClassNotFoundException: org.apache.log4j.Level
- Apache配置SSL
- 利用Apache AXIS 1 发布WebService
- java.lang.ClassNotFoundException: org.apache.ws.commons.schema.resolver.URIResolver
- java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory
- django之Apache部署
- apache功能配置
- org.apache.hadoop中遇到的API记录
- Linux系统搭建Apache+SVN(CentOS6.5)
- apache ab使用