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

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

shock เมื่อเจอ (98)Address already in use: make_sock: could not bind to address 0.0.0.0:80 แล้ว restart httpd ไม่ได้

ปัญหา (98)Address already in use: make_sock: could not bind to address 0.0.0.0:80

แก้ได้โดย

# netstat -pln |grep 80

จะเจอ

tcp6 0 0 :::80 :::* LISTEN 8493/httpd 

ดังนั้นจึง

#kill -9 8493

ทำจนหายหมด ก็จะ start apache ได้

[PRINT VERSION] เขียน: 2010-04-15 23:53:05 แก้ไข : 2010-04-15 23:53:05 อ่าน : 1854
tag : (98)Address already in use: make_sock: could not bind to address 0.0.0.0:80

Comment

Comment
BeYourCyber - 14/04/2010 23:00:00 -
ร่วมพูดคุยในหัวข้อของบทความ (98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
shock เมื่อเจอ (98)Address already in use: make_sock: could not bind to address 0.0.0.0:80 แล้ว restart httpd ไม่ได้
Panyarak - 16/06/2010 17:30:48 - 118.174.61.195
บางทีก็ฆ่าไม่ทันครับ ต้องใช้คำสั่งวนฆ่าไปเรื่อยๆ แบบนี้

for i in $(fuser 80/tcp);do kill -n 9 $i;done

จึงจะสำเร็จครับ
BeYourCyber - 20/06/2010 14:08:01 - 125.25.239.105
ขอบคุณครับ ที่ร่วมแบ่งปันประสบการณ์