피카부 RSS 태그 관리 글쓰기 방명록 다시 시작하는 개발 블로그
2011-01-21 15:29:00

에러

Starting httpd: httpd: Could not determine

the server's fully qualified domain name,

using 127.0.0.1 for ServerName


해결

→/etc/httpd/conf/httpd.conf 를 수정 

# ServerName 192.168.0.20:80 '#'을 삭제

ServerName 192.168.0.20:80 


다시 기동이 실패 할경우,

error_log를 본다.

각자 환경에 맞는 경로에 있지만 기본설치의 경우

/var/log/httpd/error_log에 있다.


tail -f /var/log/httpd/error_log

(EAI 2)Name or service not known: mod_unique_id:

unable to find IPv4 adress of "pokute_linux"


pokute_linux라는 호스트명이 IP주소와 연결되어 있지 않다는 에러

해결방법

/etc/hosts 수정

192.168.0.20 뒤에 pokute_linux 추가

192.168.0.20 pokute_linux