Php7.4-fpm ne démarre plus suite à mise à jour

Bonjour,

J’héberge mon serveur yunohost sur un serveur dédié

J’ai lancé la mise à jour du système sans erreur. La mise à jour des applications lancées ensuite s’est arrêté sur l’installation de roundcube.
Un redémarrage etait demandé après la mise à jour du systeme que je n’ai pas faites, enchainant sur la mise a jour des application.
J’ai redémarré le serveur .

Le paquet librtmp1 est apparu dans les paquets systeme à updater.
J’ai lancé la mise à jour qui a planté.

Comme indiqué j’ai fait un sudo apt install --fix-broken :

Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
The following package was automatically installed and is no longer required:
linux-image-5.10.0-21-amd64
Use ‘sudo apt autoremove’ to remove it.
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up php7.4-fpm (1:7.4.33-8+0~20230904.88+debian11~1.gbp87c414) …
Job for php7.4-fpm.service failed because the control process exited with error code.
See “systemctl status php7.4-fpm.service” and “journalctl -xe” for details.
invoke-rc.d: initscript php7.4-fpm, action “restart” failed.
● 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 Tue 2024-02-27 21:11:31 CET; 12ms ago
Docs: man:php-fpm7.4(8)
Process: 119666 ExecStart=/usr/sbin/php-fpm7.4 --nodaemonize --fpm-config /etc/php/7.4/fpm/php-fpm.conf (code=exited, status=78)
Process: 119670 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: 119666 (code=exited, status=78)
CPU: 102ms

Feb 27 21:11:31 adout.eu systemd[1]: Starting The PHP 7.4 FastCGI Process Manager…
Feb 27 21:11:31 adout.eu php-fpm7.4[119666]: [27-Feb-2024 21:11:31] ERROR: Another FPM instance seems to already listen on /var/run/php/php7.4-fpm-pihole.sock
Feb 27 21:11:31 adout.eu php-fpm7.4[119666]: [27-Feb-2024 21:11:31] ERROR: FPM initialization failed
Feb 27 21:11:31 adout.eu systemd[1]: php7.4-fpm.service: Main process exited, code=exited, status=78/CONFIG
Feb 27 21:11:31 adout.eu systemd[1]: php7.4-fpm.service: Failed with result ‘exit-code’.
Feb 27 21:11:31 adout.eu systemd[1]: Failed to start The PHP 7.4 FastCGI Process Manager.
dpkg: error processing package php7.4-fpm (–configure):
installed php7.4-fpm package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
php7.4-fpm
E: Sub-process /usr/bin/dpkg returned an error code (1)

La commande sudo dpkg --configure -a :

Setting up php7.4-fpm (1:7.4.33-8+0~20230904.88+debian11~1.gbp87c414) …
Job for php7.4-fpm.service failed because the control process exited with error code.
See “systemctl status php7.4-fpm.service” and “journalctl -xe” for details.
invoke-rc.d: initscript php7.4-fpm, action “restart” failed.
● 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 Tue 2024-02-27 21:13:13 CET; 25ms ago
Docs: man:php-fpm7.4(8)
Process: 121093 ExecStart=/usr/sbin/php-fpm7.4 --nodaemonize --fpm-config /etc/php/7.4/fpm/php-fpm.conf (code=exited, status=78)
Process: 121096 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: 121093 (code=exited, status=78)
CPU: 101ms

Feb 27 21:13:13 adout.eu systemd[1]: Starting The PHP 7.4 FastCGI Process Manager…
Feb 27 21:13:13 adout.eu php-fpm7.4[121093]: [27-Feb-2024 21:13:13] ERROR: Another FPM instance seems to already listen on /var/run/php/php7.4-fpm-pihole.sock
Feb 27 21:13:13 adout.eu php-fpm7.4[121093]: [27-Feb-2024 21:13:13] ERROR: FPM initialization failed
Feb 27 21:13:13 adout.eu systemd[1]: php7.4-fpm.service: Main process exited, code=exited, status=78/CONFIG
Feb 27 21:13:13 adout.eu systemd[1]: php7.4-fpm.service: Failed with result ‘exit-code’.
Feb 27 21:13:13 adout.eu systemd[1]: Failed to start The PHP 7.4 FastCGI Process Manager.
dpkg: error processing package php7.4-fpm (–configure):
installed php7.4-fpm package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
php7.4-fpm

et la commande sudo dpkg --audit

The following packages are only half configured, probably due to problems
configuring them the first time. The configuration should be retried using
dpkg --configure or the configure menu option in dselect:
php7.4-fpm server-side, HTML-embedded scripting language (FPM-CGI bi

J’ai avancé dans le probleme.
J’ai désinstallé Pi-hole qui semblait causer l’erreur (et que je n’utilise pas pour l’instant)
J’ai relancé l’installation du paquet librtmp1 qui s’est déroulé avec succès.
du coup, j’ai relancé la mise à jour de roundcube et j’ai encore une erreur :
WARNING - Source path ‘’ does not exist ( https://paste.yunohost.org/raw/yuyijehuku )

J’ai pu mettre a jour toutes mes autres applications avec succès.

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