啟動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
相關文章
- 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
- Linux上編譯安裝Apache出現httpd: Could not reliably determine the server's fully qualified domain nameLinux編譯ApachehttpdServerAI
- AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using fe80::1httpdServerAI
- Starting httpd: httpd: Could not reliably determine the serverhttpdServer
- apache啟動報錯:httpd: aprApachehttpd
- Mysql啟動錯誤-server PID file could not be foundMySqlServer
- 實體類註解錯誤:Could not determine type for:
- apache提示錯誤:httpd-ahssl.confApachehttpd
- ERROR: MaxTemperature is not COMMAND nor fully qualified CLASSNAMEError
- Apache Hive啟動報NoClassDefFoundError錯誤ApacheHiveError
- Apache Httpd Server 2.2 Auth Password FormatsApachehttpdServerORM
- vmware server啟動時503錯誤解決Server
- MysqL錯誤之_ERROR! MySQL server PID file could not be found!MySqlErrorServer
- httpd啟動指令碼httpd指令碼
- RMAN-06403: could not obtain a fully authorized sessionAIZedSession
- Apache(httpd)詳解Apachehttpd
- 資料庫啟動時遇到ORA-01578錯誤資料庫
- mysql 啟動錯誤MySql
- Spring Boot配置錯誤:Failed to determine a suitable driver classSpring BootAIUI
- 更改Global_name, domain_name, db_name 的方法AI
- apache httpd安裝 配置Apachehttpd
- MSSQLServer 上討厭的錯誤error: 40 - Could not open a connection to SQL ServerSQLServerError
- IBM WAS Service--Could not determine the process id of the javaprocess.IBMJava
- DB_NAME&TANCE_NAME&DB_UNIQUE_NAME&ORACLE_SID&GLOBAL_NAME&DB_DOMAIN&SERVICE_NAMEOracleAI
- RedHat 5.4啟動圖形介面出現Could not start the X ServerRedhatServer
- mongodb和python互動遇到的錯誤MongoDBPython
- 遇到 ORACLE 錯誤 6550Oracle
- 解決 ngrok 的 Domain 錯誤問題AI
- Apache的httpd命令詳解Apachehttpd
- 啟動 Laravel-Sail 服務時遇到的 /usr/bin/env: 'bash\r' 錯誤LaravelAI
- AIX RAC9i 節點2啟動時遭遇到7445錯誤AI
- ubuntu 啟動錯誤stdin:is not ttyUbuntu
- MySQL could not be resolved: Temporary failure in name resolution報錯解決方法MySqlAI
- db_name,db_domain, global_name, service_name的區別AI
- 啟動docker容器時報錯:iptables: No chain/target/match by that name.DockerAI
- Go:錯誤 could not launch process: EOF 解決Go
- 錯誤記錄(八)could not initialize proxy - no SessionSession