웹 프로그래밍/LINUX

(98)Address already in use: make_sock: could not bind to address [::]:80

웹 개발자의 비상 2012. 2. 20. 11:03

service httpd start
httpd (을)를 시작 중: httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
(98)Address already in use: make_sock: could not bind to address [::]:80
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down

(98)Address already in use: make_sock: could not bind to address [::]:80
:80 이 이미 사용 중

[root@localhost bin]# netstat -nlp
tcp 0 0 :::80 :::* LISTEN 20699/httpd
[root@localhost bin]# kill -9 20699
[root@localhost bin]# netstat -nlp
[root@localhost bin]# service httpd start

httpd 외에 딴 놈이 80포트를 쓰고 있으면 에러..
[핵심]
(98)Address already in use: make_sock: could not bind to address [::]:80
=> 80포트를 쓰고 있는 녀석이 있다.

[해결방법]
netstat -nlp
80포트 쓰는 녀석들 전부다
kill -9 uid
httpd start
728x90

'웹 프로그래밍 > LINUX' 카테고리의 다른 글

계정삭제 userdel -r 계정명  (0) 2010.12.20