Skip to content

조회 수 23798 추천 수 0 댓글 0
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄

Apache 시작시 다음과 같은 에러가 발생한다면..

 

[root@localhost bin]# apachectl start
(98)!!!!!! !!!! !!!! !!!!!!!!: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down

80포트를 통해서 소켓 연결이 불가능하다는 것이다.

 

다음과 같은 작업을 통해서 프로세스를 죽이고 아파치를 실행한다.

 

[root@localhost bin]# netstat -anp | grep 80
tcp        0      0 0.0.0.0:111             0.0.0.0:*               LISTEN      805/
tcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN      8488/
udp        0      0 0.0.0.0:111             0.0.0.0:*                           805/
unix  2      [ ACC ]     STREAM     LISTENING     3490   1664/magicdev       /tmp/orbit-root/linc-680-0-2abd2a5340418
unix  3      [ ]         STREAM     CONNECTED     3493   1664/magicdev       /tmp/orbit-root/linc-680-0-2abd2a5340418


[root@localhost bin]# kill -9 8488

반복적인 작업으로 80포트가 사용중이지 않을때까지 한다.

 

[root@localhost bin]# netstat -anp | grep 80
tcp        0      0 0.0.0.0:111             0.0.0.0:*               LISTEN      805/
udp        0      0 0.0.0.0:111             0.0.0.0:*                           805/
unix  2      [ ACC ]     STREAM     LISTENING     3490   1664/magicdev       /tmp/orbit-root/linc-680-0-2abd2a5340418
unix  3      [ ]         STREAM     CONNECTED     3493   1664/magicdev       /tmp/orbit-root/linc-680-0-2abd2a5340418

이와 같이 나올경우(즉 80포트가 사용중이라고 나오지 않을 경우) 아파치를 다시 실행한다.

 

[root@localhost bin]# apachectl start


  1. apache 2.0.x , 2.2.x 버전대 max client 값 수정시

    Date2008.10.08 ByADMINPLAY Views14799
    Read More
  2. Apache 1.3.12 httpd.conf 파일 한글설명

    Date2009.03.04 ByADMINPLAY Views13361
    Read More
  3. Apache - 도메인 포워딩

    Date2010.08.26 ByADMINPLAY Views18807
    Read More
  4. apache + oracle (오라클 DB 한글깨짐)

    Date2010.02.24 ByADMINPLAY Views19594
    Read More
  5. Address already in use: make_sock:could not bind to ad...

    Date2009.01.10 ByADMINPLAY Views23798
    Read More
  6. 64bit 시스템에 ssl 설치 후 실행 시 X509_free 오류

    Date2008.10.07 ByADMINPLAY Views15507
    Read More
  7. *** glibc detected *** double free or corruption (!pre...

    Date2010.05.03 ByADMINPLAY Views26743
    Read More
  8. (간단한 팁) 우분투에 Apache2 설치하기 ( apt-get )

    Date2012.04.01 By로키 Views17605
    Read More
Board Pagination Prev 1 2 3 4 5 Next
/ 5

Copyright ADMINPLAY corp. All rights reserved.

abcXYZ, 세종대왕,1234

abcXYZ, 세종대왕,1234