오류 해결/Linux 오류 해결

[오류 해결] apachectl configtest

dalgong 2022. 5. 19. 23:18
반응형

apachectl configtest 명령어는 httpd.conf 파일의 문법을 검사하는 명령어이다.

httpd.conf의 문법이 정상이 경우 Syntax OK가 뜬다.

 

AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 10.0.0.10. Set the 'ServerName' directive globally to suppress this message

 

오류가 뜨면 /etc/httpd/conf/httpd.conf에서 

95번째 줄  ServerName www.example.com:80  의 주석을 해제하면 해결된다.

 

반응형