본문 바로가기
여러가지/Ubuntu & Linux

[Ubuntu & Linux] 엔진엑스(nginx) 재시작시 오류 발생 했을 경우 에러메세지 체크 하는 방법(Job for nginx.service failed because the control process exited with error code.See "systemctl status nginx.service" and "journalctl -xe" ..

by 포스트it 2023. 10. 22.
728x90
반응형

 

 

[Ubuntu & Linux] 엔진엑스(nginx) 재시작시 오류 발생 했을 경우 에러메세지 체크 하는 방법 !!

아래와 같은 오류가 뜨면서 nginx 재시작을 할 수 없을 경우

Job for nginx.service failed because the control process exited with error code.See "systemctl status nginx.service" and "journalctl -xe" for details.

 

아래 명령어를 사용하여 무엇이 잘못 되었는지 확인 할 수 있습니다.

내용을 확인하여 수정해주시면 됩니다 !

$ sudo nginx -t

 

728x90
반응형

댓글