| 1477 번 글의 답장글: Re: 제발 가르쳐 주세요 apache restart에 대해서 |
| 글쓴이: 산이
[홈페이지]
|
글쓴날: 2003년 05월 23일 21:26:24 금(저녁) |
조회: 1370 |
[궁금이]님이 남기신 글:
>[root@www bin]# ./apachectl start
>./apachectl start: httpd started
>[root@www bin]# ./apachectl restart
>./apachectl restart: httpd not running, trying to start
>./apachectl restart: httpd started
>
>위에처럼 restart가 되지를 않아요..
>[root@www bin]# ./apachectl configtest
>Syntax OK
>구문오류도 아니에요..
>왜 저런 현상이 일어 나는지 이유를 알수가 없어요
>일일이 httpd 데몬을 다 죽여도 안되구요.
>그런데 한가지는요 리부팅 시켰다가 다시 restart하면
정상적으로 작동해요..
>뭐가 잘못 되었는지 이유를 알수없어요..
>가르쳐 주세요
>
>참고로요
>root@www bin]# ps -ax |grep httpd
>1408 ? S 0:00 /usr/service/apache/bin/httpd
>1409 ? S 0:00 /usr/service/apache/bin/httpd
>1410 ? S 0:00 /usr/service/apache/bin/httpd
>1411 ? S 0:00 /usr/service/apache/bin/httpd
>1412 ? S 0:00 /usr/service/apache/bin/httpd
>1413 ? S 0:00 /usr/service/apache/bin/httpd
>1415 ? S 0:00 /usr/service/apache/bin/httpd
>1416 ? S 0:00 /usr/service/apache/bin/httpd
>1417 ? S 0:00 /usr/service/apache/bin/httpd
>1422 ? S 0:00 /usr/service/apache/bin/httpd
>1423 ? S 0:00 /usr/service/apache/bin/httpd
>2616 ? S 0:00 /usr/service/apache/bin/httpd
>2617 ? S 0:00 /usr/service/apache/bin/httpd
>2637 ? S 0:00 /usr/service/apache/bin/httpd
>2639 ? S 0:00 /usr/service/apache/bin/httpd
>2640 ? S 0:00 /usr/service/apache/bin/httpd
>2647 pts/0 S 0:00 grep httpd
>[root@www bin]# ./apachectl stop
>./apachectl stop: httpd (pid ?) not running
>stop 하면 이런 메세지가 나와요 도대체 어떻게
되는건지..
>저도 한일년 서버관리 하지만 이유를 모르겠어요
>log 폴더밑에 보면 httpd.pid라는 파일이 있는데요 그 안에 내용은
숫자만 하나 나와 있어요
>저는 1408 이렇게만 적힌 파일이거든요.
>이 숫자의 의미는 무엇입니까
>
>
>제가 ./apachectl restart하고 난후 에러 로그가 이렇게
나와요
>[crit] (98)Address already in use: make_sock: could not bind to port
80..
>이런 error 로그가 남아있어요
>설명좀해주세요
========================================
apachectl 파일을 열어서
PIDFILE=
HTTPD=
의 경로를 확인해 보세요.
또한 httpd.conf 파일을 열어서 PidFile 지시자 설정값이
위의 PIDFILE 과 설로 같은지 확인해 보세요.
(서로 같아야 함)
...
# killall httpd
# ./apachectl start
이렇게 해도 됩니다.
|
이전글 : 제발 가르쳐 주세요 apache restart에 대해서
다음글 : Re: Re:감사합니다 ^^
|
from 61.254.75.40
JS(Redhands)Board 0.4 +@
|