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. expires설정으로 브라우저캐시

    Date2009.04.18 ByADMINPLAY Views14662
    Read More
  2. 아파치 웹서버 사용 시 무단 링크 방지법

    Date2009.04.03 ByADMINPLAY Views15592
    Read More
  3. xcache 설치 (xcache-1.2.2.tar.gz)

    Date2009.03.17 ByADMINPLAY Views18362
    Read More
  4. 아파치웹서버 모니터링하기

    Date2009.03.17 ByADMINPLAY Views16476
    Read More
  5. 초간단 웹 페이지 로딩시간 체크법

    Date2009.03.17 ByADMINPLAY Views15350
    Read More
  6. 아파치에서 한글 파일 읽기 [mod_url 설치]

    Date2009.03.17 ByADMINPLAY Views17297
    Read More
  7. 웹 사이트 속도측정

    Date2009.03.04 ByADMINPLAY Views16462
    Read More
  8. Apache 1.3.12 httpd.conf 파일 한글설명

    Date2009.03.04 ByADMINPLAY Views13361
    Read More
  9. 리눅스 APM 소스설치시 에러에 대한 대처

    Date2009.01.30 ByADMINPLAY Views15132
    Read More
  10. RedirectMatch (도메인포워딩)

    Date2009.01.23 ByADMINPLAY Views15435
    Read More
  11. 아파치 2.X 버전에서 mod_cband를 이용한 트래픽관리

    Date2009.01.17 ByADMINPLAY Views19019
    Read More
  12. CGI 퍼미션 으로 웹페이지 열리지 않음

    Date2009.01.12 ByADMINPLAY Views14674
    Read More
  13. Address already in use: make_sock:could not bind to ad...

    Date2009.01.10 ByADMINPLAY Views23798
    Read More
  14. Apache 웹페이지 한글깨짐, AddDefaultsCharset 설정

    Date2009.01.03 ByADMINPLAY Views30520
    Read More
  15. 웹페이지에서 한글이 깨지는 현상 막기

    Date2009.01.03 ByADMINPLAY Views16528
    Read More
  16. AWSTATS 국가별 사용자 분석

    Date2008.12.25 ByADMINPLAY Views14463
    Read More
  17. AWSTATS 설치

    Date2008.12.25 ByADMINPLAY Views23669
    Read More
  18. Apache 버전확인

    Date2008.12.23 ByADMINPLAY Views15428
    Read More
  19. CGI 오류: Premature end of script headers (Internal Se...

    Date2008.12.14 ByADMINPLAY Views14127
    Read More
  20. apache log 정리

    Date2008.12.14 ByADMINPLAY Views13527
    Read More
Board Pagination Prev 1 2 3 4 5 Next
/ 5

Copyright ADMINPLAY corp. All rights reserved.

abcXYZ, 세종대왕,1234

abcXYZ, 세종대왕,1234