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

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

VirtualHost overlap on port 80, the first has precedence

 

728x90

'프로그래밍 > 리눅스' 카테고리의 다른 글

apache server 버전 확인  (0) 2015.09.14
리눅스 언어 설정  (0) 2015.07.24
리눅스 링크 거는 법  (0) 2015.04.27
linux address already in use  (0) 2015.04.27
자바 및 톰켓 경로 export 하기  (0) 2013.09.30

+ Recent posts