Apache No services installed
apache安装完之后,右下角的图标却是红色的。放鼠标上去的提示是:No services installed ,很显然,是由于服务没有安装。
解决办法是:
我的安装路径是:C:/Program Files/Apache Software Foundation/Apache2.2
1、打开cmd定位到:C:/Program Files/Apache Software Foundation/Apache2.2/bin
2、输入httpd.exe -k install -n apache2
出现以下提示:
C:/Program Files/Apache Software Foundation/Apache2.2/bin>httpd.exe -k install -
n apache2
Installing the apache2 service
The apache2 service is successfully installed.
Testing httpd.conf....
Errors reported here must be corrected before the service can be started.
httpd.exe: Could not reliably determine the server's fully qualified domain name
, using 192.168.1.212 for ServerName
解决这个问题方法:把/conf/httpd.conf文件的#ServerName 前的#去掉,再执行上面的操作。
再输入net start apache2
之后我们看见了成功的信息
httpd: Could not reliably determine the server's fully qualified domain name
在windows下安装好apache服务器后,重新启动后,回出现上面的错误,只要把/conf/httpd.conf文件的#ServerName 前的#去掉就好了。
转自:http://hi.baidu.com/%C7%E1%D2%B9%C1%F7%E1%B0%C4%BE%C0%E6%C7%E1/blog/item/3e2f9e4b8b25332a09f7effe.html
分享到:
相关推荐
如何解决Tomacat的“Tomcat's administration web application is no longer installed by default....txt 里有说明,本人已解决
如何解决TOMCAT的Tomcat's administration web application is no longer installed by default. Download and install the admin package to use it.
VC开发服务程序安装卸载经典代码VC development services installed uninstall classic code
5) Run "mvn --version" to verify that it is correctly installed. For complete documentation, see http://maven.apache.org/download.html#Installation Licensing --------- Please see the file ...
To start an installed Apache service you'll use this: httpd.exe -k start -----start an Apache service httpd.exe -k stop --- To stop an Apache service or httpd.exe -k shutdown httpd.exe -k restart --...
visualroute 2010 在使用eclvr14c进行破解时,提示"VisualRoute is not installed properly ",经本人多次跟踪实践发现问题在缺少文件上: 检查安装完后在C:\Documents and Settings\Administrator\下是否有mswin32v16....
运行下载好的“apache_2.0.55-win32-x86-no_ssl.msi”,出现如下界面: 出现Apache HTTP Server 2.0.55的安装向导界面,点“Next”继续 确认同意软件安装使用许可条例,选择“I accept the terms in the ...
bimserver安装时报dependency org.apache.httpcomponents:httpclient is not installed,把jar包放到项目的maven下,
Each time a jar is copied in this folder, it will be installed inside the runtime. You can then update or delete it, and changes will be handled automatically. In addition, Karaf also supports ...
前端开源库-n-installedn-installed,获取通过n安装的节点二进制文件列表
Apache启动报错No space left on device: AH00023错误可能是进程导致了,虽然小编不知道什么原因但网上提供的解决办法确实是可以解决我们的问题,下面来看看。 对于这类错误是因为linux系统的ipc信号量造成的,...
5) Run "mvn --version" to verify that it is correctly installed. For complete documentation, see https://maven.apache.org/download.html#Installation Licensing --------- Please see the file ...
xcode installed in lion , necessary h files needed to compile your projects
php7.3 错误提示 SWOOLEC Loader ext not installed swoole_loader73.so 下载(仅支持Linux系统)
are also installed with webMethods add-on packages, such as adapters and monitoring tools. You will find documentation for those services in the user guide provided with the add-on product.
前端开源库-installed-by-yarn-globally通过全球纱线安装,检查全球安装的纱线模块目录中是否有目录。
Delphi RAD XE 不能安装,提示:JSharp Runtime 2.0 could not be installed.……
sublime latest plugins
Apache Spark can be installed on a laptop easily and the development made there can be exported easily to enterprise environments with large volumes of data. Apache Spark also makes the data ...
解决激活0xC004F035错误的方法!