Job for httpd.service failed because the control process exited with error code. See "Systemctl 솔루션

1319 단어
httpd 서비스 시작 시간 오류
Job for httpd.service failed because the control process exited with error code. See "systemctl status httpd.service" and "journalctl -xe" for details.

먼저 systemctl status httpd에서 상태를 확인합니다.
8  14 16:57:26 10-255-0-230 httpd[28061]: (98)Address already in use: AH00072: make_sock: could not bind to address [::]:80
8  14 16:57:26 10-255-0-230 httpd[28061]: (98)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:80
8  14 16:57:26 10-255-0-230 httpd[28061]: no listening sockets available, shutting down
8  14 16:57:26 10-255-0-230 httpd[28061]: AH00015: Unable to open logs
8  14 16:57:26 10-255-0-230 systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
8  14 16:57:26 10-255-0-230 kill[28062]: kill: cannot find process ""
8  14 16:57:26 10-255-0-230 systemd[1]: httpd.service: control process exited, code=exited status=1
8  14 16:57:26 10-255-0-230 systemd[1]: Failed to start The Apache HTTP Server.
8  14 16:57:26 10-255-0-230 systemd[1]: Unit httpd.service entered failed state.
8  14 16:57:26 10-255-0-230 systemd[1]: httpd.service failed.

80 포트가 사용되고 있는 것으로 파악
netstat -antlp | grep 80

알아보다
원래 nginx가 포트를 차지했어요.
멈추면 된다

좋은 웹페이지 즐겨찾기