httpd启动报错httpd: Could not reliably determine the server's fully qualified domain name

安装完apache-httpd后,启动时报错如下:

[[email protected] app]# service httpd start
Starting httpd: httpd: apr_sockaddr_info_get() failed for ppt
httpd: Could not reliably determine the server‘s fully qualified domain name, using 127.0.0.1 for ServerName  [  OK  ]

解决如下:

1.编辑httpd配置文件,

vim /etc/httpd/conf/httpd.conf

添加:ServerName localhost:80

2.重启httpd服务

[[email protected] app]# service httpd restart
Stopping httpd: [  OK  ]
Starting httpd: [  OK  ]

httpd启动报错httpd: Could not reliably determine the server's fully qualified domain name

时间: 2024-08-07 13:57:41

httpd启动报错httpd: Could not reliably determine the server's fully qualified domain name的相关文章

重启Apache报错apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName ... waiting的解决方法

启动apache提示 : apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName ... waiting apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName (1)

如何解决apache启动时错误:Could not reliably determine the server's fully qualified domain name

启动apache遇到错误:httpd: Could not reliably determine the server's fully qualified domain name [[email protected] 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

Apache HTTP Server 2.2.25执行Test Configuration时报错(Could not reliably determine the server's fully qualified domain name, using 192.168.0.103 for ServerName)

以httpd-2.2.25-win32-x86-openssl-0.9.8y.msi为例. Apache HTTP Server 2.2.25执行Test Configuration时,实际上是直接运行了httpd.exe C:\Program Files (x86)\Apache Software Foundation\Apache2.2\bin>httpd.exehttpd.exe: Could not reliably determine the server's fully qualif

源码安装Apache,报错:Cannot use an external APR with the bundled APR-util和httpd: Could not reliably determine the server's fully qualified domain name

一.解决APR和APR-util错误: 1.1.安装APR: [[email protected] httpd-2.2.23]# cd srclib/apr [[email protected] apr]# ./configure --prefix=/usr/local/apr root@ganglia apr]# make && make install 1.2.安装APR-util: [[email protected] apr]# cd ../apr-util/ [[email pr

解决apache启动错误:httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName

启动apache遇到提示: [[email protected] conf]# ../bin/apachectl -thttpd: apr_sockaddr_info_get() failed for bqh-119httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerNameSyntax OK[[email protected] conf]#

linux启动httpd服务出现 Could not reliably determine the server`s fully qualified domain name.

安装好apache启动httpd服务时,出现httpd: Could not reliably determine the server's fully qualified domain name, using XXX for ServerName. 网上找了不少资料,叫修改安装apache根目录下的httpd/conf/httpd.conf配置文件 1.打开apache_home/httpd/conf/httpd.conf 2.找到 #ServerName www.example.com:80

解决apache启动错误httpd: Could not reliably determine the server's fully qualified domain name

AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using localhost.localdomain. Set the 'ServerName' directive globally to suppress this messagehttpd (pid 1068) already running 编辑httpd.conf文件,搜索"#ServerName",添

网络yum 安装 httpd 出现的问题Could not reliably determine the server's fully qualified domain name

Could not reliably determine the server's fully qualified domain name 在使用网络yum源安装httpd的时候出现了上面的报错,进入配置文件httpd.conf [[email protected] ~]# cd /etc//httpd/conf [[email protected] conf]# ls httpd.conf  magic [[email protected] conf]#vim httpd.conf 276 #

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

ttpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName 解决办法非常简单: #vim /web/apache/conf/httpd.conf (在这里/web/apahce是我安装apache的目录,你默认安装的话应该是/usr/local/apache2/icons) 找到#ServerName www.example.com:80