apache启动错误提示:httpd: Could not reliably determine the server

错误提示

在系统启动时apache,没有启动起来,查看“事件查看器”发现报一些错误:

The Apache service named  reported the following error:
>>> httpd.exe: Could not reliably determine the server's fully qualified domain name, using 192.168.0.200 for ServerName  

解决办法

1)进入apache配置文件的目录:(视个人安装情况而不同)

[root@centos /]# cd /etc/httpd //我安装时配置文件所在的目录为/etc/httpd

2)编辑httpd.conf文件,搜索"#ServerName",添加ServerName localhost:80

 代码如下 复制代码

[root@centos httpd]# vi httpd.conf

#ServerName www.111cn.net:80

更改为:

 代码如下 复制代码

ServerName localhost:80

再重新启动apache 即可。

时间: 2024-12-05 02:37:20

apache启动错误提示:httpd: Could not reliably determine the server的相关文章

解决apache启动错误"httpd:Could not reliably determine

启动apache遇到错误:httpd: Could not reliably determine the server's fully qualified domain name [root@server httpd-2.2.4]# /usr/local/apache/bin/apachectl start httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 f

启动apache时出现httpd: Could not reliably determine the server

启动apache时出现 [root@centos apache2]# /usr/local/apache2/bin/apachectl starthttpd: Could not reliably determine the server's fully qualified domain http://www.aliyun.com/zixun/aggregation/11696.html">name, using 121.10.40.155 for ServerName 现在提供该问题的解

httpd: Could not reliably determine the server's fully qualified domain name

[root@luozhonghua sbin]# service httpd start Starting httpd: httpd: apr_sockaddr_info_get() failed for luozhonghua httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName (98)Address already in use

apache无法启动提示httpd.exe: Could not reliably determine the server

查看日志发现 The Apache service named  reported the following error: >>> httpd.exe: Could not reliably determine the server's fully qualified domain name, using 222.73.219.52 for ServerName  百度搜索一下说是端口问题,我查一下 在windows命令行窗口下执行: C:/>netstat -aon|finds

opencv+vs2012+qt-vs2012+Qt5.2.0在配置OpenCV后出现“应用程序无法正常启动”错误提示

问题描述 vs2012+Qt5.2.0在配置OpenCV后出现"应用程序无法正常启动"错误提示 配置完OpenCV后,在测试时出现"应用程序无法正常启动(0x000007b).请单击"确定"关闭应用程序."的错误提示. 代码如下: #include ""text.h"" #include #include using namespace cv; TEXT::TEXT(QWidget *parent): QM

Apache启动错误:(OS 10022)提供了一个无效的参数

今天上班启动WAMP显示橙色,按照一般惯例应该是白色的才表现正常启动.抱着侥幸的心理访问本地项目,果不其然无法访问.初步猜测端口问题,可后来查看并未有端口占用问题,于是查看Apache错误日志查看了一个错误-"[crit] (OS 10022)提供了一个无效的参数的".下面PHP程序员雷雪松详细的记录下Apache启动错误"[crit](OS 10022)提供了一个无效的参数"的解决办法. Apache启动错误日志: [Wed Jun 08 13:19:57 201

Remote Access Connection Manager 启动错误提示193:0xc1

问题描述 我在准备使用vpn的时候,新建了vpn的宽带连接,但是右击属性的时候提示网络连接发生意外错误.有人说是remoteaccessconnectionmanager这个服务没有启动.我去启动的时候就提示了上面的错误.这个服务所依赖的两个服务我也已经启动了,就是他启动不了!有没有那个大哥帮帮忙, 解决方案

Ubuntu下Apache启动错误:Invalid command Order解决办法

解决办法:在终端里输入如下命令即可:  代码如下 复制代码 sudo a2enmod authz_host; 下面附上windows下解决办法  代码如下 复制代码 LoadModule   status_modulemodules/mod_status.so <Location /status>   SetHandler server-status   Order Deny,Allow   Allow from all   #allow from 127.0.0.1 </Locatio

Centos下apache启动时httpd: apr_sockaddr_info_get() failed for 报错

今天安装Apache httpd web服务器时,从官方网站上http://www.apache.org/dyn/closer.cgi下载httpd,然后在centos下解压,安装过程分为三部分:       (1)./configure       (2)make       (3)make install (需要root权限) 默认安装在/usr/sbin/下,执行apachectl start时候,提示如下错误: httpd: apr_sockaddr_info_get() failed