프로그래밍/리눅스
httpd: apr_sockaddr_info_get() failed
GOHA
2015. 4. 27. 20:20
728x90
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 써도 됩니다.
행인
기타 오류
httpd: apr_sockaddr_info_get() failed
VirtualHost overlap on port 80, the first has precedence
728x90