解决httpd: Could not reliably determine the server's fully qualified domain name
2016-09-17 01:27
477 查看
httpd: 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
再次启动就正常了!
解决办法非常简单:
#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
再次启动就正常了!
相关文章推荐
- 解决ssl启动时要httpd输入密码的问题
- httpd: Could not determine the server's fully qualified domain name 问题的解决
- apache 增加 extension=php_apc.dll 扩展后 报错“httpd.exe” 解决方法
- 解决apache启动错误"httpd:Could not reliably determine..."
- 解决httpd: Could not reliably determine the server's fully qualified domain name
- 解决httpd.conf:DocumentRoot must be a directory报错问题
- 解决httpd: Could not reliably determine the server's fully qualifi...
- 解决httpd: Could not reliably determine the server's fully qualified domain name
- 解决httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1
- httpd glibc free() 报错解决一例
- 关于windows下apache运行php出现httpd.exe错误的解决方法
- Apache http服务器整合php出现httpd.exe应用程序错误的解决方法
- RedHat Linux 5 安装httpd 报错解决
- 解决Apache HTTP Server在windows 7下安装,后台没有httpd服务的问题
- httpd.exe cpu占有很高的解决方法
- 改apache的默认目录配置文件httpd.conf,apache 403错误的解决办法
- 一个lighthttpd 错误的解决
- Linux RedHat5 安装httpd 报错解决
- LINUX httpd挂死解决
- 解决php因内存不足httpd.exe错误方法!