Matériel: VPS
Version de YunoHost: Propulsé par YunoHost 11.2.8.2 (stable)
J’ai accès à mon serveur : En SSH | Par la webadmin .
Êtes-vous dans un contexte particulier ou avez-vous effectué des modificiations particulières sur votre instance ? : non
Si oui, expliquer:
Si votre requête est liée à une applicatio, précisez son nom et sa version: dokuwiki 2023.04.04a~ynh1
Bonsoir,
Le diagnostic me renvoie cette erreur
[ERROR] Service php8.1-fpm is failed
- You can try to restart the service, and if it doesn’t work, have a look at the service logs in the webadmin (from the command line, you can do this with ‘yunohost service restart php8.1-fpm’ and ‘yunohost service log php8.1-fpm’).
Visiblement le service n’est pas installé mais TOUT est fonctionnel, donc je pense qu’il suffirait de le supprimer
Car si je suis le retour d’érreur
$ sudo yunohost service restart php8.1-fpm
Job for php8.1-fpm.service failed because the control process exited with error code.
See "systemctl status php8.1-fpm.service" and "journalctl -xe" for details.
Warning: Could not execute the command 'systemctl restart php8.1-fpm'
Error: Could not restart the service 'php8.1-fpm'
Recent service logs:-- Journal begins at Thu 2023-06-08 21:21:18 CEST, ends at Mon 2023-12-18 18:50:06 CET. --
Dec 11 18:51:20 systemd[1]: Starting The PHP 8.1 FastCGI Process Manager...
Dec 11 18:51:20 systemd[1]: Started The PHP 8.1 FastCGI Process Manager.
Dec 11 18:51:21 systemd[1]: Stopping The PHP 8.1 FastCGI Process Manager...
Dec 11 18:51:21 systemd[1]: php8.1-fpm.service: Succeeded.
Dec 11 18:51:21 systemd[1]: Stopped The PHP 8.1 FastCGI Process Manager.
Dec 11 18:51:21 systemd[1]: Starting The PHP 8.1 FastCGI Process Manager...
Dec 11 18:51:21 systemd[1]: Started The PHP 8.1 FastCGI Process Manager.
Dec 11 18:51:28 systemd[1]: Reloading The PHP 8.1 FastCGI Process Manager.
Dec 11 18:51:28 systemd[1]: Reloaded The PHP 8.1 FastCGI Process Manager.
Dec 11 18:51:28 php-fpm8.1[2148665]: [11-Dec-2023 18:51:28] NOTICE: using inherited socket fd=8, "/run/php/php8.1-fpm.sock"
Dec 11 18:51:28 php-fpm8.1[2148665]: [11-Dec-2023 18:51:28] ERROR: Another FPM instance seems to already listen on /var/run/php/php8.1-fpm-dokuwiki__2.sock
Dec 11 18:51:28 php-fpm8.1[2148665]: [11-Dec-2023 18:51:28] ERROR: FPM initialization failed
Dec 11 18:51:28 systemd[1]: php8.1-fpm.service: Main process exited, code=exited, status=78/CONFIG
Dec 11 18:51:28 systemd[1]: php8.1-fpm.service: Failed with result 'exit-code'.
Dec 18 18:49:46 systemd[1]: Starting The PHP 8.1 FastCGI Process Manager...
Dec 18 18:49:46 php-fpm8.1[2407890]: [18-Dec-2023 18:49:46] ERROR: Another FPM instance seems to already listen on /var/run/php/php8.1-fpm-dokuwiki__2.sock
Dec 18 18:49:46 php-fpm8.1[2407890]: [18-Dec-2023 18:49:46] ERROR: FPM initialization failed
Dec 18 18:49:46 systemd[1]: php8.1-fpm.service: Main process exited, code=exited, status=78/CONFIG
Dec 18 18:49:46 systemd[1]: php8.1-fpm.service: Failed with result 'exit-code'.
Dec 18 18:49:46 systemd[1]: Failed to start The PHP 8.1 FastCGI Process Manager.
Dec 18 18:50:06 systemd[1]: Starting The PHP 8.1 FastCGI Process Manager...
Dec 18 18:50:06 php-fpm8.1[2407942]: [18-Dec-2023 18:50:06] ERROR: Another FPM instance seems to already listen on /var/run/php/php8.1-fpm-dokuwiki__2.sock
Dec 18 18:50:06 php-fpm8.1[2407942]: [18-Dec-2023 18:50:06] ERROR: FPM initialization failed
Dec 18 18:50:06 systemd[1]: php8.1-fpm.service: Main process exited, code=exited, status=78/CONFIG
Dec 18 18:50:06 systemd[1]: php8.1-fpm.service: Failed with result 'exit-code'.
Dec 18 18:50:06 systemd[1]: Failed to start The PHP 8.1 FastCGI Process Manager.
Et pourtant aptitude me dit qu’il est installé …
[ERROR] Service php8.1-fpm is failed
- You can try to restart the service, and if it doesn’t work, have a look at the service logs in the webadmin (from the command line, you can do this with ‘yunohost service restart php8.1-fpm’ and ‘yunohost service log php8.1-fpm’).
D’ailleurs
~$ cd /etc/php/
5.6/ 7.0/ 7.1/ 7.2/ 7.3/ 7.4/ 8.0/ 8.1/ 8.2/
~$ ls /etc/php/8.1
cli fpm mods-available
$ ls /etc/php/8.1/fpm/
conf.d php-fpm.conf php.ini pool.d
~$ ls /etc/php/8.1/fpm/conf.d/
10-opcache.ini 20-ctype.ini 20-fileinfo.ini 20-iconv.ini 20-posix.ini 20-sockets.ini 20-tokenizer.ini
10-pdo.ini 20-dom.ini 20-ftp.ini 20-ldap.ini 20-readline.ini 20-sysvmsg.ini 20-xmlreader.ini
15-xml.ini 20-exif.ini 20-gd.ini 20-mbstring.ini 20-shmop.ini 20-sysvsem.ini 20-xmlwriter.ini
20-calendar.ini 20-ffi.ini 20-gettext.ini 20-phar.ini 20-simplexml.ini 20-sysvshm.ini 20-xsl.ini
Les logs (service panel admin) hastebin
D’après les logs l’erreur semble liée
b'[10-Jun-2023 09:41:14] ERROR: Another FPM instance seems to already listen on /var/run/php/php8.1-fpm-dokuwiki__2.sock'
b'[10-Jun-2023 09:41:14] ERROR: FPM initialization failed'
Je fais quoi, je demande à aptitude sa suppression ? Y aura t il des conséquence ? Ou une commande magique pour que yunohost le reprenne en compte ?
D’avance merci pour vos idées