AWS Lightsail 에서 PHP8 빠르게 설치하기
댓글 9개
솔루션모아
4년 전
베스트 영상입니다.
4년 전
영상과 똑같은 방법으로 따라해봤는데 PHP-FPM에서 막히네요.
$ systemctl start php-fpm nginx mariadb
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.
$ systemctl status php-fpm.service
php-fpm.service - The PHP FastCGI Process Manager
Loaded: loaded (/usr/lib/systemd/system/php-fpm.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Tue 2021-08-10 06:47:49 UTC; 57s ago
Process: 9889 ExecStart=/usr/sbin/php-fpm --nodaemonize (code=exited, status=78)
Main PID: 9889 (code=exited, status=78)
Aug 10 06:47:49 ip-172-26-3-233.ap-northeast-2.compute.internal systemd[1]: Starting The PHP FastCGI Process Manager...
Aug 10 06:47:49 ip-172-26-3-233.ap-northeast-2.compute.internal php-fpm[9889]: [10-Aug-2021 06:47:49] ERROR: [pool www] cannot get uid for us...inx'
Aug 10 06:47:49 ip-172-26-3-233.ap-northeast-2.compute.internal php-fpm[9889]: [10-Aug-2021 06:47:49] ERROR: FPM initialization failed
Aug 10 06:47:49 ip-172-26-3-233.ap-northeast-2.compute.internal systemd[1]: php-fpm.service: main process exited, code=exited, status=78/n/a
Aug 10 06:47:49 ip-172-26-3-233.ap-northeast-2.compute.internal systemd[1]: Failed to start The PHP FastCGI Process Manager.
Aug 10 06:47:49 ip-172-26-3-233.ap-northeast-2.compute.internal systemd[1]: Unit php-fpm.service entered failed state.
Aug 10 06:47:49 ip-172-26-3-233.ap-northeast-2.compute.internal systemd[1]: php-fpm.service failed.
Hint: Some lines were ellipsized, use -l to show in full.
$ systemctl start php-fpm nginx mariadb
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.
$ systemctl status php-fpm.service
php-fpm.service - The PHP FastCGI Process Manager
Loaded: loaded (/usr/lib/systemd/system/php-fpm.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Tue 2021-08-10 06:47:49 UTC; 57s ago
Process: 9889 ExecStart=/usr/sbin/php-fpm --nodaemonize (code=exited, status=78)
Main PID: 9889 (code=exited, status=78)
Aug 10 06:47:49 ip-172-26-3-233.ap-northeast-2.compute.internal systemd[1]: Starting The PHP FastCGI Process Manager...
Aug 10 06:47:49 ip-172-26-3-233.ap-northeast-2.compute.internal php-fpm[9889]: [10-Aug-2021 06:47:49] ERROR: [pool www] cannot get uid for us...inx'
Aug 10 06:47:49 ip-172-26-3-233.ap-northeast-2.compute.internal php-fpm[9889]: [10-Aug-2021 06:47:49] ERROR: FPM initialization failed
Aug 10 06:47:49 ip-172-26-3-233.ap-northeast-2.compute.internal systemd[1]: php-fpm.service: main process exited, code=exited, status=78/n/a
Aug 10 06:47:49 ip-172-26-3-233.ap-northeast-2.compute.internal systemd[1]: Failed to start The PHP FastCGI Process Manager.
Aug 10 06:47:49 ip-172-26-3-233.ap-northeast-2.compute.internal systemd[1]: Unit php-fpm.service entered failed state.
Aug 10 06:47:49 ip-172-26-3-233.ap-northeast-2.compute.internal systemd[1]: php-fpm.service failed.
Hint: Some lines were ellipsized, use -l to show in full.
4년 전
cannot get uid for us...inx'
이 부분 문제 있는것 같은데
/etc/php-fpm.d/www.conf 파일을 통째로 올려주세요.
이 부분 문제 있는것 같은데
/etc/php-fpm.d/www.conf 파일을 통째로 올려주세요.
4년 전
파일 전체 내용이 댓글로 등록이 어려워 구글문서 링크 공유합니다.
인스턴스를 지우고 새로 생성하여 동일하게 하여도 똑같은 오류가 뜨네요.
https://docs.google.com/document/d/1jnwmXHszfTnKf8nbI342POt0__Uq3SFIrsBzw0ev0cY/edit?usp=sharing
인스턴스를 지우고 새로 생성하여 동일하게 하여도 똑같은 오류가 뜨네요.
https://docs.google.com/document/d/1jnwmXHszfTnKf8nbI342POt0__Uq3SFIrsBzw0ev0cY/edit?usp=sharing
4년 전
Aug 10 06:47:49 ip-172-26-3-233.ap-northeast-2.compute.internal php-fpm[9889]: [10-Aug-2021 06:47:49] ERROR: [pool www] cannot get uid for us...inx'
에러 내용이 잘려서 어떤 내용인지 알기 어렵네요.
에러 내용이 잘려서 어떤 내용인지 알기 어렵네요.
4년 전
감사합니다.
유준아빠0브레스
3년 전
이상하게 ~ sudo yum update 이게 안먹힐까요?
lightsail Amazon Linux 2 신청하고서
쉘접속하면 보통 sudo yum update하라고 메세지뜨는데
이 서버는 그게 없고, 막상 입력해도 먹히지 않고,
__| __|_ )
_| ( / Amazon Linux 2 AMI
___|\___|___|
https://aws.amazon.com/amazon-linux-2/
[ec2-user@ip-17*-**-*-*** ~]$ sudo yum update
Loaded plugins: extras_suggestions, langpacks, priorities, update-motd
amzn2-core | 3.7 kB 00:00:00
No packages marked for update
lightsail Amazon Linux 2 신청하고서
쉘접속하면 보통 sudo yum update하라고 메세지뜨는데
이 서버는 그게 없고, 막상 입력해도 먹히지 않고,
__| __|_ )
_| ( / Amazon Linux 2 AMI
___|\___|___|
https://aws.amazon.com/amazon-linux-2/
[ec2-user@ip-17*-**-*-*** ~]$ sudo yum update
Loaded plugins: extras_suggestions, langpacks, priorities, update-motd
amzn2-core | 3.7 kB 00:00:00
No packages marked for update
3년 전
@유준아빠0브레스 https://yoonwould.tistory.com/139 이런 내용이 있네요
유준아빠0브레스
3년 전
@리자 감사합니다.
https://docs.aws.amazon.com/ko_kr/AWSEC2/latest/UserGuide/amazon-linux-ami-basics.html#package-repository
패키지 설치 방법으로 해보니 되더라구요
활성화를 안해서 그런듯합니다.
https://docs.aws.amazon.com/ko_kr/AWSEC2/latest/UserGuide/amazon-linux-ami-basics.html#package-repository
패키지 설치 방법으로 해보니 되더라구요
활성화를 안해서 그런듯합니다.
게시판 목록
개발자팁
개발과 관련된 유용한 정보를 공유하세요.
질문은 QA에서 해주시기 바랍니다.
질문은 QA에서 해주시기 바랍니다.
| 번호 | 분류 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|---|
| 56 | 기타 | 21년 전 | 6226 | ||
| 55 | 기타 | 21년 전 | 4813 | ||
| 54 | PHP | 21년 전 | 4253 | ||
| 53 | MySQL | 21년 전 | 4830 | ||
| 52 | JavaScript | 21년 전 | 5073 | ||
| 51 | 기타 | 21년 전 | 4085 | ||
| 50 | JavaScript | 21년 전 | 4067 | ||
| 49 | PHP | 21년 전 | 4628 | ||
| 48 | JavaScript | 21년 전 | 4000 | ||
| 47 | 기타 | 21년 전 | 3511 | ||
| 46 | JavaScript | 21년 전 | 4274 | ||
| 45 | JavaScript |
prosper
|
21년 전 | 4041 | |
| 44 | 기타 | 21년 전 | 3786 | ||
| 43 | 기타 | 21년 전 | 4224 | ||
| 42 | 기타 | 21년 전 | 3217 | ||
| 41 | 기타 | 21년 전 | 3413 | ||
| 40 | JavaScript | 21년 전 | 4385 | ||
| 39 | 기타 | 21년 전 | 4115 | ||
| 38 | 기타 | 21년 전 | 7139 | ||
| 37 | 기타 |
prosper
|
21년 전 | 4512 | |
| 36 | JavaScript |
prosper
|
21년 전 | 3574 | |
| 35 | 기타 | 21년 전 | 3728 | ||
| 34 | JavaScript | 21년 전 | 4567 | ||
| 33 | 기타 | 21년 전 | 4322 | ||
| 32 | JavaScript | 21년 전 | 3481 | ||
| 31 | 기타 | 21년 전 | 6433 | ||
| 30 | 기타 | 21년 전 | 5264 | ||
| 29 | JavaScript | 21년 전 | 4614 | ||
| 28 | MySQL |
prosper
|
21년 전 | 4813 | |
| 27 | MySQL | 21년 전 | 8171 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기