Apache之——命令行启动出现Failed to open the Apache2.2 Service解决方案
2015-08-30 22:01
543 查看
转载请注明出处:/article/8380869.html
Apache命令行启动[关闭|重启]的命令是:httpd -k start[stop|restart]
出现Failed to open the Apache2.2 Service。其实是权限问题,可以通过以下方法解决:
打开运行 找到cmd ,右键打开cmd.exe ,选择以管理员身份运行
下面是它的输出log
然后在服务里,把apache启动即可。
Apache命令行启动[关闭|重启]的命令是:httpd -k start[stop|restart]
出现Failed to open the Apache2.2 Service。其实是权限问题,可以通过以下方法解决:
打开运行 找到cmd ,右键打开cmd.exe ,选择以管理员身份运行
D:\Program Files\Apache Software Foundation\Apache2.2\bin>httpd -k install
下面是它的输出log
Installing the Apache2.2 service The Apache2.2 service is successfully installed. Testing httpd.conf.... Errors reported here must be corrected before the service can be started.
然后在服务里,把apache启动即可。
相关文章推荐
- 软raid-mdadm命令
- RAID常用等级介绍
- XML XML常见的操作 http://blog.csdn.net/pbymw8iwm/article/details/7899156
- HDU1022 Train Problem I
- UltraISO制作U盘启动盘
- UVA 442 二十 Matrix Chain Multiplication
- HDU 4458 Shoot the Airplane (2012年杭州赛区现场赛F题)
- poj 2010 Moo University - Financial Aid(优先队列(最小堆)+ 贪心 + 枚举)
- HDU 2476 String painter(区间DP啊)
- RAID
- 2012 #1 Saving Princess claire_
- 大气实用WordPress主题推荐【wait主题】
- Xcode Command /usr/bin/codesign failed with exit code 1
- Raid基础知识
- Filter及FilterChain的使用详解
- ###《High-level event recognition in unconstrained videos》
- HA(High Availability)简介
- pod install 遇到 :[MT] DVTAssertions: ASSERTION FAILURE in ……
- HDU-4750 Count The Pairs
- HDU 1702 ACboy needs your help again!(栈+队列)