× - 코드 및 콘솔 화면은 [ code ] 내용 [ /code ] 태그 처리하여 주세요.
- 강조하고자 하는 내용은 [ b ] 내용 [ /b ] 태그 처리하여 주세요.

아파치 기동시 fully qualified domain name 오류 발생

  • jeeg
    (강철지그)
  • jeeg's Avatar 이 글의 작성자
  • Offline
  • Junior
  • Junior
더보기
04 Apr 2014 01:02 #139 작성자: jeeg
jeeg 님의 글: 아파치 기동시 fully qualified domain name 오류 발생
아파치 웹서버를 기동하거나 종료하려고 할 때,

httpd: Could not reliably determine the server's fully qualified domain name, using 192.168.0.101 for ServerName

과 같은 메세지가 나옵니다.

그렇다고 기동과 종료가 안되는 것은 아닌데, 어떤 영향이 있을까요?
더보기
04 Apr 2014 17:57 #141 작성자: scenic
scenic 님의 답글: 아파치 기동시 fully qualified domain name 오류 발생
따로 Apache서비스에는 영향없는것으로 아는데요. OS의 /etc/hosts 안에 Hostname 을 넣거나 httpd.conf에 ServerName 을 지정해줘야 해당 메세지가 사라지는 것 같아요
  • jeeg
    (강철지그)
  • jeeg's Avatar 이 글의 작성자
  • Offline
  • Junior
  • Junior
더보기
05 Apr 2014 02:20 #144 작성자: jeeg
jeeg 님의 답글: 아파치 기동시 fully qualified domain name 오류 발생
scenic 말씀대로 httpd.conf 에 ServerName 을 추가하였더니 해결되었습니다. ("ServerName localhost" 를 넣었음)

그런데 조금 더 알아보니 다음과 같은 상황이더라구요.

1. /etc/hosts 에 x.x.x.x hostname (예를 들어, 192.168.0.101 WEBSERVER) 이 없는 경우에는 httpd.conf 에 ServerName 을 넣지 않아도 됩니다.

2. /etc/hosts 에 x.x.x.x hostname (예를 들어, 192.168.0.101 WEBSERVER) 이 있는 경우에는 httpd.conf 에 ServerName 을 넣어야 합니다. 단, 넣지 않아도 위의 오류(Could not reliably determine the server's fully qualified domain name,...)만 날 뿐 서비스에는 영향이 없다. (진짜 없는 것인지는 잘 모르겠음)
Time to create page: 0.056 seconds
Powered by Kunena Forum