Starting httpd: httpd: Could not reliably determine the server
1.1 啟動apache遇到錯誤
Starting httpd: httpd: Could not reliably determine the server's fully qualified domain name
1.1.1 問題描述
[root@master Packages]# service httpd start
Starting httpd: httpd: Could not reliably determine the server's fully qualified domain name, using 192.168.98.156 for ServerName
(2)No such file or directory: httpd: could not open error log file /etc/httpd/logs/error_log.
Unable to open logs
[FAILED]
[root@master Packages]#
1.1.2 問題處理
啟動apache遇到錯誤: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 for ServerName
1) 進入apache的安裝目錄:(視個人安裝情況而不同)
2) /etc/httpd/conf/httpd.conf
3) 編輯httpd.conf檔案,搜尋”#ServerName”,新增ServerName localhost:80
4) #ServerName
5) ServerName localhost:80
6) 再重新啟動apache 即可service httpd restart
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/24179204/viewspace-2126688/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using localhohttpdServerAI
- AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using localhhttpdServerAI
- 啟動apache遇到錯誤:httpd: Could not reliably determine the server's fully qualified domain nameApachehttpdServerAI
- AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using fe80::1httpdServerAI
- Linux上編譯安裝Apache出現httpd: Could not reliably determine the server's fully qualified domain nameLinux編譯ApachehttpdServerAI
- Starting httpd: httpd: apr_sockaddr_info_get() failed for subversionhttpdAI
- Apache Httpd Server 2.2 Auth Password FormatsApachehttpdServerORM
- HTTPD之二————HTTPD服務詳解————httpd的配置檔案常見設定httpd
- httpd的坑httpd
- mac-httpdMachttpd
- Linux yum安裝httpd報錯 No package httpd available ?LinuxhttpdPackageAI
- Apache(httpd)詳解Apachehttpd
- httpd啟動指令碼httpd指令碼
- RedHat 7 安裝HTTPDRedhathttpd
- apache httpd安裝 配置Apachehttpd
- httpd dead but subsys lockedhttpd
- httpd 一鍵編譯安裝指令碼(centos6&7_httpd2.2&2.4)httpd編譯指令碼CentOS
- httpd編譯安裝phphttpd編譯PHP
- Apache的httpd命令詳解Apachehttpd
- Centos httpd模組 Job for httpd.service failed because the control process exited with error code.CentOShttpdAIError
- apache啟動報錯:httpd: aprApachehttpd
- httpd結合php的fpm模式httpdPHP模式
- httpd的manual列目錄漏洞httpd
- tomcat結合httpd和nginxTomcathttpdNginx
- Azure SLB + httpd + ILB + HAProxy + Atlas + MySQLhttpdMySql
- Nginx/Httpd負載均衡tomcat配置Nginxhttpd負載Tomcat
- Apache httpd和php的結合方式ApachehttpdPHP
- Linux——搭建Apache(httpd)伺服器LinuxApachehttpd伺服器
- apache的httpd.conf翻譯Apachehttpd
- Linux基礎命令---httpd守護程式Linuxhttpd
- apache提示錯誤:httpd-ahssl.confApachehttpd
- Mac下配置Apache Httpd的Https/SSLMacApachehttpd
- httpd-2.4 編譯安裝(centos6)httpd編譯CentOS
- 設定開機自啟動nginx和httpdNginxhttpd
- radius+httpd+php+mysql+dialupadmin總結httpdPHPMySql
- httpd伺服器的安裝和基本配置httpd伺服器
- httpd: apr_sockaddr_info_get() failed for bogonhttpdAIGo
- IBM WAS Service--Could not determine the process id of the javaprocess.IBMJava