정보 보안을 향한 항해

Apache2 오류 해결 "AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1. Set the 'ServerName' directive globally to suppress this message Action 'start' failed." 본문

OS 오류/Linux 오류

Apache2 오류 해결 "AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1. Set the 'ServerName' directive globally to suppress this message Action 'start' failed."

금홍자 2021. 10. 8. 11:58
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1.
Set the 'ServerName' directive globally to suppress this message Action 'start' failed.
The Apache error log may have more information.                                                                          [fail]  * The apache2 instance did not start within 20 seconds. Please read the log files to discover problems sudo: unable to resolve host ubuntu1 mysql stop/waiting mysql start/running, process 4140
root@ubuntu1:/home/ubuntu#

 

 

/etc/apache2/apache2.conf 파일 마지막줄에 (단축키 ctrl + /) Servername 127.0.0.1 추가하고 service apache2 재시작하면 해결된다