Saudações amigos do Viva o Linux, sou nova por aqui na comunidade, estou caminhando na busca de sabedorias do universo linux! :D
Bom tenho um problema com relação ao php7.4-fpm dentro da minha instancia do aws, o problema começa logo no aceso ao site, está apresentando o erro "502 Bad Gateway", fiz um check no servidor nginx esta rodando direitinho, dai fui testando outras coisas até chegar no php7.4-fpm, onde ele me apontou alguns erros:
php7.4-fpm.service - The PHP 7.4 FastCGI Process Manager
Loaded: loaded (/lib/systemd/system/php7.4-fpm.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Sat 2021-03-13 23:02:09 UTC; 3min 11s ago
Docs: man:php-fpm7.4(8)
Process: 18156 ExecStart=/usr/sbin/php-fpm7.4 --nodaemonize --fpm-config /etc/php/7.4/fpm/php-fpm.conf (code=exited, status=78)
Process: 18167 ExecStopPost=/usr/lib/php/php-fpm-socket-helper remove /run/php/php-fpm.sock /etc/php/7.4/fpm/pool.d/www.conf 74 (code=exited, status=0/SUCCESS)
Main PID: 18156 (code=exited, status=78)
Mar 13 23:02:09 ip-######### systemd[1]: Starting The PHP 7.4 FastCGI Process Manager...
Mar 13 23:02:09 ip-######### php-fpm7.4[18156]: [13-Mar-2021 23:02:09] ERROR: unable to bind listening socket for address '/run/php/php7.4-fpm.sock': No such file o>
Mar 13 23:02:09 ip-######### php-fpm7.4[18156]: [13-Mar-2021 23:02:09] ERROR: FPM initialization failed
Mar 13 23:02:09 ip-######### systemd[1]: php7.4-fpm.service: Main process exited, code=exited, status=78/CONFIG
Mar 13 23:02:09 ip-######### systemd[1]: php7.4-fpm.service: Failed with result 'exit-code'.
Mar 13 23:02:09 ip-######### systemd[1]: Failed to start The PHP 7.4 FastCGI Process Manager.
root@ip-#########:/home/ubuntu# journalctl -xe
Mar 13 22:56:50 ip-######### sshd[18117]: Invalid user bkpuser from 165.22.221.230 port 38250
Mar 13 22:56:50 ip-######### sshd[18117]: Received disconnect from 165.22.221.230 port 38250:11: Bye Bye [preauth]
Mar 13 22:56:50 ip-######### sshd[18117]: Disconnected from invalid user bkpuser 165.22.221.230 port 38250 [preauth]
Mar 13 22:56:55 ip-######### sshd[18119]: Invalid user telecomadmin from 103.87.104.160 port 61038
Mar 13 22:56:55 ip-######### sshd[18119]: Connection closed by invalid user telecomadmin 103.87.104.160 port 61038 [preauth]
Mar 13 22:57:03 ip-######### sshd[18121]: Invalid user telecomadmin from 103.87.104.160 port 62868
Mar 13 22:57:03 ip-######### sshd[18121]: Connection closed by invalid user telecomadmin 103.87.104.160 port 62868 [preauth]
Mar 13 22:57:09 ip-######### sshd[18123]: Invalid user wx from 220.118.0.221 port 63215
Mar 13 22:57:09 ip-######### sshd[18123]: Received disconnect from 220.118.0.221 port 63215:11: Bye Bye [preauth]
Mar 13 22:57:09 ip-######### sshd[18123]: Disconnected from invalid user wx 220.118.0.221 port 63215 [preauth]
Mar 13 23:01:23 ip-######### sshd[18144]: Invalid user deploy from 27.128.244.13 port 54474
Mar 13 23:01:24 ip-######### sshd[18144]: Received disconnect from 27.128.244.13 port 54474:11: Bye Bye [preauth]
Mar 13 23:01:24 ip-######### sshd[18144]: Disconnected from invalid user deploy 27.128.244.13 port 54474 [preauth]
Mar 13 23:02:09 ip-######### systemd[1]: Starting The PHP 7.4 FastCGI Process Manager...
-- Subject: A start job for unit php7.4-fpm.service has begun execution
-- Defined-By: systemd
-- Support:
http://www.ubuntu.com/support
--
-- A start job for unit php7.4-fpm.service has begun execution.
--
-- The job identifier is 9897.
Mar 13 23:02:09 ip-######### php-fpm7.4[18156]: [13-Mar-2021 23:02:09] ERROR: unable to bind listening socket for address '/run/php/php7.4-fpm.sock': No such file o>
Mar 13 23:02:09 ip-######### php-fpm7.4[18156]: [13-Mar-2021 23:02:09] ERROR: FPM initialization failed
Mar 13 23:02:09 ip-######### systemd[1]: php7.4-fpm.service: Main process exited, code=exited, status=78/CONFIG
-- Subject: Unit process exited
-- Defined-By: systemd
-- Support:
http://www.ubuntu.com/support
--
-- An ExecStart= process belonging to unit php7.4-fpm.service has exited.
--
-- The process' exit code is 'exited' and its exit status is 78.
Mar 13 23:02:09 ip-######### systemd[1]: php7.4-fpm.service: Failed with result 'exit-code'.
-- Subject: Unit failed
-- Defined-By: systemd
-- Support:
http://www.ubuntu.com/support
--
-- The unit php7.4-fpm.service has entered the 'failed' state with result 'exit-code'.
Mar 13 23:02:09 ip-######### systemd[1]: Failed to start The PHP 7.4 FastCGI Process Manager.
-- Subject: A start job for unit php7.4-fpm.service has failed
-- Defined-By: systemd
-- Support:
http://www.ubuntu.com/support
--
-- A start job for unit php7.4-fpm.service has finished with a failure.
--
-- The job identifier is 9897 and the job result is failed.
No momento não tenho nenhuma noção do que fazer para solucionar esse erro...