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

[[email protected]~]# /usr/local/apache2/bin/apachectl start

httpd: Could not reliably determine the server‘s fully qualified domain name, usinglocalhost.localdomain for ServerName

分析:该错误信息表示Apache无法彻底确定服务器的完全限定域名只好用using localhost.localdomain for ServerName

简而言之,你没有在配置文件httpd.conf中设置Apache服务器的主机名称(ServerName),Apache就无法知道该该服务器的主机名称,只好以localhost.localdomain这个名字来替代。

解决:我们只需要在Apache安装目录/conf/httpd.conf文件中启用ServerName配置指令即可

#ServerName www.example.com:80

Apache的配置文件httpd.conf中默认就是上述指令,不过Apache在该指令语句前添加了#号,注释掉了该语句,我们只需要去掉#号,然后重新启动Apache即可

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

时间: 2024-10-10 01:56:20

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

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  

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

用vim打开 /usr/local/apache2/cong/httpd.conf 将里面的 #ServerName localhost:80 注释去掉即可. 再执行 /usr/local/apache2/bin/apachectl start 然后可以通过浏览器访问 http://localhost:80 ,如果页面显示 “It works!” ,即表示apache已安装并启动成功. 解决httpd: Could not reliably determine the server's full

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  

解决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",添

解决方案:httpd: Could not reliably determine the server's fully qualified domain name

(1)一开始学习php的人都会安装wamp或者xamp或者phpstudy等集成环境软件.但是在现实中,公司服务器端的apache.php.mysql都是自己一个个安装的. (2)我们说的安装apache,其实是说的安装apache http server软件,所以下载的软件一般名字是httpd-2.2.22-win32-x86之类的. --官网下载很坑爹,各种网页打不开.还是百度了以下,在华为网盘下载的,是2.2.22版本,此时官方已到2.4.12版本.不过,一样用. --安装过程,很简单.安

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

#service httpd start #Starting httpd: httpd: Could not reliably determine the server's fully qualified domain name, using 192.168.1.123 for ServerName 解决办法:vi /etc/httpd/conf/httpd.conf   加入一句  ServerName  localhost:80 Starting httpd:Could not reliab

工作经验 部署阿帕奇的时候出现 Starting httpd: httpd: apr_sockaddr_info_get() failed for server1 httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName

service httpd restart Starting httpd: httpd: apr_sockaddr_info_get() failed for server1 httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName 出现这种原因是因为  httpd.config  的 配置文件出现错 应该把 ServerName  这行

测试Apache服务器及httpd: Could not reliably determine the server's fully qualified domain name解决办法

测试Apache服务器: 重启apache: sudo /usr/local/apache/bin/apachectl restart 若出现错误: httpd: Could not reliably determine the server's fully qualified domain name...... 解决办法: 1)进入apache的安装目录:(视个人安装情况而不同) [[email protected]]# cd /usr/local/apache/conf 2)编辑httpd.

源码安装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