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
再次启动就正常了!
分享到:
相关推荐
启动 httpd:(13)Permission denied: httpd: could not open error log file /home/wwwroot/jb51.net/logs/error_log. Unable to open logs [失败] 三、问题原因 因为新安装的系统,所以SELinux默认是开启状态,...
httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
httpd: Could not reliably determine the server's fully qualified domain name, using 192.168.2.116 for ServerName错误 在#ServerName www.example.com:80 添加 ServerName www.example.com:80
httpd.exe: Could not reliably determine the server's fully qualified domain name, using 10.0.0.109 for ServerName的处理办法 AppServ2.6.0是由Apache、PHP、mhsql、phpMyAdmin组成的安装包适合初学者使用。...
Mar 21 21:25:02 VM_0_9_centos httpd: (98)Address already in use: AH00072: make_sock: could not bind to address [::]:80 Mar 21 21:25:02 VM_0_9_centos httpd: (98)Address already in use: AH00072: make_...
simple httpd server hello world
“httpd未被被识别的服务”的解决办法.docx
HTTPD is the main program for the Apache hypertext transfer protocol (HTTP) server
/etc/init.d/httpd: line 112: lynx: command not found 或者 Error 403 Access forbidden! 解决方法: 出现lynx: command not found错误提示的需要完成Step1&Step2 出现Error 403 Access forbidden!错误提示的
/use/lib//usr/lib/libdb-4.2.so: could not read symbols: File in wrong format Notice: Following unknown configure options were used: usr/bin/ld: cannot find -lltdl /usr/bin/ld: cannot find -...
Name : httpd Version : 2.4.6 Release : 18.el7.centos Architecture: x86_64 Install Date: Mon 11 Aug 2014 02:44:55 PMCST Group : System Environment/Daemons Size : 9793373 License : ASL 2.0 Signature : ...
harmonyos源代码 ...将其中的//applications/sample/wifi-iot/app替换为//third_party/httpd:app; 在openharmony源码的顶层目录,执行python build.py wifiiot; HTTP 服务器特性 目前已测试通过的
The Apache HTTP Server Project is pleased to announce the release of version 2.4.50 of the Apache HTTP Server ("Apache" and "httpd"). This version of Apache is our latest GA release of the new ...
这是要求码头工人用法# simple pagedocker run -p 8080:80 f5devcentral/f5-demo-httpd:nginx# simple websitedocker run --rm -e F5DEMO_APP=website f5devcentral/f5-demo-httpd:nginx# simple frontenddocker ...
这是的的Git存储库(不要与httpd上游提供的任何官方httpd映像混淆)。 有关如何使用此Docker映像的完整自述文件以及有关贡献和问题的信息,请参阅。 的是在生成/维护的,尤其是。 看到此处合并的更改尚未出现在...
官方离线安装包,测试可用。使用rpm -ivh [rpm完整包名] 进行安装
to reflect the group's perceived stability of the tree. Development releases may be made at any time by any committer. Please read the following link for a more detailed description of the ...
apache server service不能成功启动的错误提示