top of page

Apache Startup시 Start가 되지 않고, Port 사용중이라고 나올 때

Apache Startup시 Start가 되지 않고, Port 사용중이라고 나올 때… Apache Startup시 문제가 발생하면

Log File /ora/vis01/dhdev/devora/iAS/Apache/Apache/logs/error_log에 다음과 같은 중요한 단서가 나옵니다.

[Wed Nov 26 09:24:16 2003] [crit] (67)The socket name is already in use.: make_sock: could not bind to port 8080

이 메세지는 Port, 8080을 이미 사용하고 있다는 소리이고, 확인은 다음과 같이 합니다.

$ netstat -a | grep 8080 tcp4 0 0 *.8080 *.* LISTEN

어떤 Process에서 현재 사용중이라는 뜻입니다.

그럼 어떤 Process가 사용하고 있는지 확인하려면 다음과 같이 합니다.

$ lsof | grep 8080 httpd 179312 dhdev 18u IPv4 0x7cc1d9f0 0t0 TCP *:8080 (LISTEN) => 정상적인 경우

조회수 1회댓글 0개

Comments


bottom of page