카테고리 없음

httpd: apr_sockaddr_info_get() failed

윈컴이 2012. 7. 31. 16:30

httpd를 시작할 때 아래와 같이 뜰때가 있다.

httpd: apr_sockaddr_info_get() failed for ABC


이럴 때는 다음과 같이 하면 된다. (초기 세팅을 기본으로 함.)

vi /etc/hosts

예) 127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 ABC

:wq

service httpd restart

apache/conf/httpd.conf 파일에 ServerName 주석 풀고 127.0.0.1 써도 됩니다.

행인