- 다른 뜻에 대해서는 CentOS httpd: Could not reliably determine the server's fully qualified domain name 문서를 참조하십시오.
- apache2 시작시 경고 메시지
- apache2: Could not reliably determine the server's fully qualified domain name
- AH00557: apache2: apr_sockaddr_info_get() failed for cbt
- 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
1 문제상황[ | ]
Console
Copy
root@ubuntu14:~# service apache2 restart
* Restarting web server apache2
AH00557: apache2: apr_sockaddr_info_get() failed for cbt
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
[ OK ]
Console
Copy
root@ubuntu12:~# service apache2 restart
* Restarting web server apache2
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
[ OK ]
- → 방치해도 상관 없지만, 뭔가 깔끔하지 않다...
2 아파치 설정[ | ]
Console
Copy
root@zetawiki:~# grep ServerName /etc/apache2/apache2.conf
root@zetawiki:~#
- → ServerName이 지정되지 않았다.
Console
Copy
root@zetawiki:~# echo "ServerName localhost" >> /etc/apache2/apache2.conf
root@zetawiki:~# grep ServerName /etc/apache2/apache2.conf
ServerName localhost
3 아파치 재시작[ | ]
Console
Copy
root@zetawiki:~# service apache2 restart
* Restarting web server apache2 [ OK ]
- → 더 이상 경고메시지가 뜨지 않는다.
4 같이 보기[ | ]
- CentOS httpd: Could not reliably determine the server's fully qualified domain name
- 우분투 아파치 설치
- /etc/apache2/httpd.conf
5 참고[ | ]
편집자 Jmnote Jmnote bot
로그인하시면 댓글을 쓸 수 있습니다.
- 분류 댓글:
- Ubuntu (4)
우분투 sshd 설치 ― …우분투 sshd 설치 ― Jmnote우분투 절전모드 해제시 와이파이 안되는 문제 ― D4RT우분투 절전모드 해제시 와이파이 안되는 문제 ― Beyondthelimit