Failed to start The PHP 7.4

Hi team !
My actions: Admin Panel → Server Settings → Web Server → Removed (Disabled) PHP-5.6,7.0,7.1,7.2 → Saving–ok
Server → Services ->Failed to start The PHP 7.4–>restart 7.4 -->Failed to start The PHP 7.4
systemctl status php7.4-fpm.service

● 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 Thu 2021-08-05 09:43:59 MSK; 55s ago
     Docs: man:php-fpm7.4(8)
  Process: 18688 ExecStart=/usr/sbin/php-fpm7.4 --nodaemonize --fpm-config /etc/php/7.4/fpm/php-fpm.conf (code=exited, status=78)
  Process: 18689 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: 18688 (code=exited, status=78)

Aug 05 09:43:58 dot.com systemd[1]: Starting The PHP 7.4 FastCGI Process Manager...
Aug 05 09:43:59 dot.com php-fpm7.4[18688]: [05-Aug-2021 09:43:59] ERROR: unable to bind listening socket for address '127.0.0.1:9000': Address already in use (98)
Aug 05 09:43:59 dot.com php-fpm7.4[18688]: [05-Aug-2021 09:43:59] ERROR: FPM initialization failed
Aug 05 09:43:59 dot.com systemd[1]: php7.4-fpm.service: Main process exited, code=exited, status=78/CONFIG
Aug 05 09:43:59 dot.com systemd[1]: php7.4-fpm.service: Failed with result 'exit-code'.
Aug 05 09:43:59 dot.com systemd[1]: Failed to start The PHP 7.4 FastCGI Process Manager.



 ERROR: unable to bind listening socket for address '127.0.0.1:9000': Address already in use (98)
[05-Aug-2021 08:55:47] ERROR: unable to bind listening socket for address '127.0.0.1:9000': Address already in use (98)
[05-Aug-2021 08:55:47] ERROR: FPM initialization failed
[05-Aug-2021 08:55:47] ERROR: FPM initialization failed
[05-Aug-2021 08:56:10] ERROR: unable to bind listening socket for address '127.0.0.1:9000': Address already in use (98)
[05-Aug-2021 08:56:10] ERROR: FPM initialization failed
[05-Aug-2021 08:56:30] ERROR: unable to bind listening socket for address '127.0.0.1:9000': Address already in use (98)

I can not understand the reason what happened, help me, thank you!

P.s -re-enable php-5.6,7.0,7.1,7.2 unchanged-Failed to start The PHP 7.4

You got multiple www.conf in /etc/php/VERSION/fpm/pool.d, remove the double file and start the service.

3 Likes

Hi,ScIT !That’s right, deleted www.conf, the service started. :slightly_smiling_face: Thank you very much!

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.