aws Linux 사용 하여 php 8.0 설치 오류

aws Linux 사용 하여 php 8.0 설치 오류

QA

aws Linux 사용 하여 php 8.0 설치 오류

본문

리자님 영상을 보면서 따라하다가

https://sir.kr/pg_tip/16870

 

systemctl start mariadb nginx php-fpm 여기서 

오류가 나더라구요;;

 

순서를 처음부터 돌려서 다시 코드를 쳐봐도 똑같이 나옵니다.

 

 

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

 

3718050134_1650341657.0902.png

 


[root@ip-172-31-2-26 etc]# systemctl start mariadb
[root@ip-172-31-2-26 etc]# systemctl start nginx
[root@ip-172-31-2-26 etc]# systemctl start php-fpm
Job for php-fpm.service failed because the control process exited with error code. See "systemctl status php-fpm.service" and "journalctl -xe" for details.
[root@ip-172-31-2-26 etc]# systemctl start php-fpm.service
Job for php-fpm.service failed because the control process exited with error code. See "systemctl status php-fpm.service" and "journalctl -xe" for details.
[root@ip-172-31-2-26 etc]# systemctl status php-fpm.service
● php-fpm.service - The PHP FastCGI Process Manager
   Loaded: loaded (/usr/lib/systemd/system/php-fpm.service; disabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Tue 2022-04-19 04:06:26 UTC; 14s ago
  Process: 5023 ExecStart=/usr/sbin/php-fpm --nodaemonize (code=exited, status=78)
 Main PID: 5023 (code=exited, status=78)
Apr 19 04:06:25 ip-172-31-2-26.ap-northeast-2.compute.internal systemd[1]: Starting The PHP FastCGI Process Manager...
Apr 19 04:06:26 ip-172-31-2-26.ap-northeast-2.compute.internal php-fpm[5023]: [19-Apr-2022 04:06:26] WARNING: [pool www] ACL set, listen.owner = 'nginx' is ignored
Apr 19 04:06:26 ip-172-31-2-26.ap-northeast-2.compute.internal php-fpm[5023]: [19-Apr-2022 04:06:26] WARNING: [pool www] ACL set, listen.group = 'nginx' is ignored
Apr 19 04:06:26 ip-172-31-2-26.ap-northeast-2.compute.internal php-fpm[5023]: [19-Apr-2022 04:06:26] ERROR: Another FPM instance seems to already listen on /run/php-fpm/www.sock
Apr 19 04:06:26 ip-172-31-2-26.ap-northeast-2.compute.internal php-fpm[5023]: [19-Apr-2022 04:06:26] ERROR: FPM initialization failed
Apr 19 04:06:26 ip-172-31-2-26.ap-northeast-2.compute.internal systemd[1]: php-fpm.service: main process exited, code=exited, status=78/n/a
Apr 19 04:06:26 ip-172-31-2-26.ap-northeast-2.compute.internal systemd[1]: Failed to start The PHP FastCGI Process Manager.
Apr 19 04:06:26 ip-172-31-2-26.ap-northeast-2.compute.internal systemd[1]: Unit php-fpm.service entered failed state.
Apr 19 04:06:26 ip-172-31-2-26.ap-northeast-2.compute.internal systemd[1]: php-fpm.service failed.
[root@ip-172-31-2-26 etc]# Job for php-fpm.service failed because the control process exited with error code. See "systemctl status php-fpm.service" and "journalctl -xe" for details.
bash: Job: command not found
[root@ip-172-31-2-26 etc]#

이 질문에 댓글 쓰기 :

답변 2

로그에 바로 나온거 같은데요

php-fpm 설정 다시 한번 확인해서 해보세요

 

"다른 FPM 인스턴스가 이미 수신 중인 것 같습니다."

인스턴스 문제가 있는것같은데..

영어 해석 어려우면 번역기로도 돌려서 확인해보시구요 

 

# systemctl stop php-fpm

이렇게 하면 어떤 메시지가 나오나요?

start 를 하면 다시 도돌이표 됩니다ㅠ


[root@ip-172-31-2-26 ~]# systemctl start php-fpm
Job for php-fpm.service failed because the control process exited with error code. See "systemctl status php-fpm.service" and "journalctl -xe" for details.

답변을 작성하시기 전에 로그인 해주세요.
전체 935
QA 내용 검색

회원로그인

(주)에스아이알소프트 / 대표:홍석명 / (06211) 서울특별시 강남구 역삼동 707-34 한신인터밸리24 서관 1404호 / E-Mail: admin@sir.kr
사업자등록번호: 217-81-36347 / 통신판매업신고번호:2014-서울강남-02098호 / 개인정보보호책임자:김민섭(minsup@sir.kr)
© SIRSOFT