aws Linux 사용 하여 php 8.0 설치 오류
본문
리자님 영상을 보면서 따라하다가
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.
[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
이렇게 하면 어떤 메시지가 나오나요?
답변을 작성하시기 전에 로그인 해주세요.