啟動apache遇到錯誤:httpd: Could not reliably determine the server's fully qualified domain name
啟動apache遇到錯誤:httpd: Could not reliably determine the server's fully qualified domain name
[root@server httpd-2.2.4]# /usr/local/apache/bin/apachectl start
httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
1)進入apache的安裝目錄:(視個人安裝情況而不同) [root@server ~]# cd /usr/local/apache/conf
2)編輯httpd.conf檔案,搜尋"#ServerName",新增ServerName localhost:80
[root@server conf]# ls
extra httpd.conf magic mime.types original
[root@server conf]# vi httpd.conf
#ServerName www.example.com:80
ServerName localhost:80
3)再重新啟動apache 即可。
[root@server ~]# /usr/local/apache/bin/apachectl restart
相關文章
- apache啟動報錯:httpd: aprApachehttpd
- apache提示錯誤:httpd-ahssl.confApachehttpd
- ERROR: MaxTemperature is not COMMAND nor fully qualified CLASSNAMEError
- WebLogic啟動報Could not get the server file lockWebServer
- Spring Boot配置錯誤:Failed to determine a suitable driver classSpring BootAIUI
- httpd啟動指令碼httpd指令碼
- Apache(httpd)詳解Apachehttpd
- sshd啟動報錯Could not load host key
- 錯誤:duplicate column name: picstitle
- mongodb和python互動遇到的錯誤MongoDBPython
- 解決 ngrok 的 Domain 錯誤問題AI
- 【C#】Newtonsoft.Json 中 JArray 新增陣列報錯:Could not determine JSON object type for typC#JSONJAR陣列Object
- nginx 啟動報錯 unknown directive "server"NginxServer
- Go:錯誤 could not launch process: EOF 解決Go
- 啟動 Laravel-Sail 服務時遇到的 /usr/bin/env: 'bash\r' 錯誤LaravelAI
- Linux——搭建Apache(httpd)伺服器LinuxApachehttpd伺服器
- Linux yum安裝httpd報錯 No package httpd available ?LinuxhttpdPackageAI
- zabbix-server啟動報錯解決Server
- 升級提示 執行SQL發生錯誤!錯誤:duplicate column name: picstitleSQL
- minikube addons enable ingress 啟動錯誤
- Apache httpd和php的結合方式ApachehttpdPHP
- sqlplus執行指令碼時遇到錯誤自動停止SQL指令碼
- 啟動docker容器時報錯:iptables: No chain/target/match by that name.DockerAI
- github上傳遇到的錯誤Github
- QT中error: xxx does not name a type xxx錯誤QTError
- 錯誤記錄:apache預設網頁訪問錯誤Apache網頁
- pbootcms升級提示 執行SQL發生錯誤!錯誤:duplicate column name: picstitlebootSQL
- minikube metrics-server HPA 自動擴縮容錯誤Server
- 設定開機自啟動nginx和httpdNginxhttpd
- HTTP 錯誤 500.19- Internal Server Error 錯誤解決方法HTTPServerError
- Eclipse 啟動專案錯誤:class not foundEclipse
- openstack 啟動認證服務錯誤
- wget下載安裝時出現錯誤doesn‘t match requested host name錯誤wget
- 第1步: 登記一個域名 (Domain Name)AI
- 安裝.NET Core遇到的錯誤
- JPA 開發中遇到的錯誤
- 專案整合Swagger遇到的錯誤Swagger
- 啟動 idea 彈出“Failed to load JVM DLL\bin\server\jvm.dll”錯誤的解決方法IdeaAIJVMServer
- MySQL啟動報錯:The server quit without updating PID fileMySqlServerUI