본문 바로가기

Linux

[Apache] 아파치 기동이 오류가 날경우 에러확인

728x90

 

오늘은 간단한 글을 남겨보려 합니다 !

service apache2 start를 사용하여 아파치를 기동 하는데 기동은 되지 않고

Job for apache2.service failed because the control process exited with error code.
See "systemctl status apache2.service" and "journalctl -xe" for details.
이런 식으로 만 나올 때 뭐가 문제인지 답답하실 텐데요.

 

위 문제가 나올 경우 아파치 경로로 이동후 cd /etc/apache2

apache2ctl configtest <- 해당 명령어를 입력하면 오류가 나는 부분을 알려줍니다!! ㅎㅎ

매우 간단한 예제였습니다!

 

태클은 환영 !

반응형