Server-Side/Linux2010. 9. 20. 19:04
(98) address already in use make_sock could not bind to address 80

아파치를 중복 설치 했을 때 이런 에러가 나기도 한다.

이런 경우 원상복구를 하기 위해서 다음과 같은 조치를 해주자.

# cp /usr/local/apache/bin/apachectl /etc/init.d/httpd

소스 디렉토리의 apachectl을 httpd로 파일명을 변경해서 복사하면 된다.

'Server-Side > Linux' 카테고리의 다른 글

[CentOS] php version update 5.1 to 5.2  (0) 2010.10.09
[CentOS] mysqli 설치  (0) 2010.10.09
netstat 사용법  (0) 2010.09.20
서버 상태 확인  (0) 2010.08.28
[CentOS] apache tomcat mod_jk 이용해서 연동하기  (0) 2010.08.27
Posted by 준피
Server-Side/Linux2010. 8. 26. 14:17
# chkconfig --add apacheclt  
service apachectl does not support chkconfig

위의 예처럼 데몬을 자동으로 수행하려는데 에러가 발생한다면
다음과 같은 해결책을 사용해보세요.

# vi /etc/init.d/apachectl

# chkconfig: 2345 90 90
# description: init file for apachectl server daemon
# processname: /usr/local/apache2/bin/apachectl
# config: /usr/local/apache2/conf/httpd.conf
# pidfile: /usr/local/apache2/logs/httpd.pid

편집기를 열고 다음의 주석달린 5문장을 입력하면 놀랍게도 해결이 될것이다.

화이팅!!
Posted by 준피