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   把#去掉,再重启apache即可没事了。

现象:

bogon:~/webserver/httpd-2.0.59 # /usr/local/apache2/bin/apachectl start
httpd: Could not determine the server‘s fully qualified domain name, using 127.0.0.1 for ServerName
httpd (pid 20183) already running

這個問題應該是沒有在 /etc/httpd/conf/httpd.conf 中設定 ServerName

vi /usr/local/apache2/conf/httpd.conf

最简单的,修改httpd.conf文件,增加:
ServerName www.example.com:80
我的改为:

ServerName www.example.com:80

再次启动就正常了!

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

时间: 2024-10-10 10:44:17

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

解决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

[[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 Se

解决方案: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