코딩마을방범대

우분투 Apache2 실행 오류 본문

💡 백엔드/우분투

우분투 Apache2 실행 오류

신짱구 5세 2023. 6. 12. 10:50
728x90

apt-get을 통해 Apache2를 설치 후 자동으로 실행 시켜주는데

이 과정에서 실행 오류가 발생했다.

 

 

AH00558: apache2: Could not reliably determine the server's fully qu>
(98)Address already in use: AH00072: make_sock: could not bind to ad>
(98)Address already in use: AH00072: make_sock: could not bind to ad>

 

정확한 오류는 아래 명령어를 통해 확인 가능

$ apache2ctl configtest

 

 

 

포트 80을 사용 중인 것으로 오류가 발생한 것 같은데

그냥 sudo netstat -anp | grep :80 으로 검색 시엔 tcp만 조회됐었는데 아래 명령어로 실행하니 다른 목록이 조회되었다

$ sudo ss -4 -tlnp | grep 80

 

 

해당 pid 번호로 kill 을 진행하니 정상적으로 실행 완료

 

728x90