Une instance est déjà en cours d'exécution, merci d'attendre sa fin avant d'en lancer une autre [Résolu]

Mon serveur YunoHost

Matériel: Vieil ordinateur
Version de YunoHost: 11.2.5
J’ai accès à mon serveur : En SSH | Par la webadmin | En direct avec un clavier/écran | …
Êtes-vous dans un contexte particulier ou avez-vous effectué des modificiations particulières sur votre instance ? : non
Si oui, expliquer:

Description du problème

Bonjour, suite à une mise à jour du système, je ne peux plus administrer mon instance. A chaque commande, le message suivant apparait.
“Une instance est déjà en cours d’exécution, merci d’attendre sa fin avant d’en lancer une autre.”
J’ai suivi les anciens posts évoquant le problème mais je ne trouve pas de processus qui bloquerait le système donc que je pourrai tuer.

~$ ps -ef | grep yunohost
olivier   699066  698752  0 20:49 pts/0    00:00:00 grep yunohost

C’est la seule ligne que j’ai.
Je ne peux même pas redémarrer le système.

Merci e votre aide

Ça m’apparaît plutôt bizarre que tu ne peux pas néanmoins redémarrer le serveur… pourquoi ça ? Pourrais-tu partager tes logs?

You gotta do that kind of stuff with sudo:

sudo ps -ef --forest | grep yunohost -A4

Voilà ce que donne la commande avec tous les droits.
J’ai plus de lignes, mais je ne suis pas plus avancé.

$ sudo ps -ef --forest | grep yunohost -A4
[sudo] Mot de passe de olivier : 
root         841       1  0 oct.13 ?       00:00:16 /usr/bin/python3 /usr/bin/yunohost-api
mdns         844       1  0 oct.13 ?       00:01:07 /usr/bin/python3 /usr/bin/yunomdns
root         851       1  0 oct.13 ?       00:00:31 sshd: /usr/sbin/sshd -D [listener] 0 of 10-100 startups
root      859272     851  0 20:17 ?        00:00:00  \_ sshd: olivier [priv]
olivier   859323  859272  0 20:17 ?        00:00:00      \_ sshd: olivier@pts/0
--
olivier   859336  859325  0 20:17 pts/0    00:00:00              \_ grep yunohost -A4
root         854       1  0 oct.13 tty1    00:00:00 /sbin/agetty -o -p -- \u --noclear tty1 linux
ntp          891       1  0 oct.13 ?       00:00:47 /usr/sbin/ntpd -p /var/run/ntpd.pid -g -u 120:128
mysql        971       1  0 oct.13 ?       00:27:25 /usr/sbin/mariadbd
dnsmasq      987       1  0 oct.13 ?       00:00:07 /usr/sbin/dnsmasq -x /run/dnsmasq/dnsmasq.pid -u dnsmasq -7 /etc/dnsmasq.d,.dpkg-dist,.dpkg-old,.dpkg-new --local-service --trust-anchor=.,20326,8,2,e06d44b80b8f1d39a95c0b0d7c65d08458e880409bbc683457104237c7f8ec8d
--
root      215007  214999  0 oct.14 ?       00:00:00  |   \_ /bin/bash -c : YunoHost DynDNS update; sleep $((RANDOM%60)); ! ping -q -W5 -c1 ip.yunohost.org >/dev/null 2>&1 || test -e /var/run/moulinette_yunohost.lock || yunohost dyndns update >> /dev/null
root      215082  215007  0 oct.14 ?       00:00:00  |       \_ /usr/bin/python3 /usr/bin/yunohost dyndns update
root      262933    1184  0 oct.15 ?       00:00:00  \_ /usr/sbin/CRON -f
root      262941  262933  0 oct.15 ?       00:00:00  |   \_ /bin/bash -c : YunoHost Automatic Diagnosis; sleep $((RANDOM%1200)); yunohost diagnosis run --email > /dev/null 2>/dev/null || echo "Running the automatic diagnosis failed miserably"
root      264687  262941  0 oct.15 ?       00:20:18  |       \_ /usr/bin/python3 /usr/bin/yunohost diagnosis run --email
root      346490    1184  0 oct.15 ?       00:00:00  \_ /usr/sbin/CRON -f
root      346497  346490  0 oct.15 ?       00:00:00  |   \_ /bin/bash -c : YunoHost Automatic Diagnosis; sleep $((RANDOM%1200)); yunohost diagnosis run --email > /dev/null 2>/dev/null || echo "Running the automatic diagnosis failed miserably"
root      348598  346497  0 oct.15 ?       00:17:24  |       \_ /usr/bin/python3 /usr/bin/yunohost diagnosis run --email
root      430236    1184  0 oct.16 ?       00:00:00  \_ /usr/sbin/CRON -f
root      430244  430236  0 oct.16 ?       00:00:00  |   \_ /bin/bash -c : YunoHost Automatic Diagnosis; sleep $((RANDOM%1200)); yunohost diagnosis run --email > /dev/null 2>/dev/null || echo "Running the automatic diagnosis failed miserably"
root      430473  430244  0 oct.16 ?       00:14:48  |       \_ /usr/bin/python3 /usr/bin/yunohost diagnosis run --email
root      516765    1184  0 oct.16 ?       00:00:00  \_ /usr/sbin/CRON -f
root      516774  516765  0 oct.16 ?       00:00:00  |   \_ /bin/bash -c : YunoHost Automatic Diagnosis; sleep $((RANDOM%1200)); yunohost diagnosis run --email > /dev/null 2>/dev/null || echo "Running the automatic diagnosis failed miserably"
root      518042  516774  0 oct.16 ?       00:11:47  |       \_ /usr/bin/python3 /usr/bin/yunohost diagnosis run --email
root      602266    1184  0 oct.17 ?       00:00:00  \_ /usr/sbin/CRON -f
root      602275  602266  0 oct.17 ?       00:00:00  |   \_ /bin/bash -c : YunoHost Automatic Diagnosis; sleep $((RANDOM%1200)); yunohost diagnosis run --email > /dev/null 2>/dev/null || echo "Running the automatic diagnosis failed miserably"
root      603983  602275  0 oct.17 ?       00:08:59  |       \_ /usr/bin/python3 /usr/bin/yunohost diagnosis run --email
root      685565    1184  0 oct.17 ?       00:00:00  \_ /usr/sbin/CRON -f
root      685573  685565  0 oct.17 ?       00:00:00  |   \_ /bin/bash -c : YunoHost Automatic Diagnosis; sleep $((RANDOM%1200)); yunohost diagnosis run --email > /dev/null 2>/dev/null || echo "Running the automatic diagnosis failed miserably"
root      686150  685573  0 oct.17 ?       00:06:07  |       \_ /usr/bin/python3 /usr/bin/yunohost diagnosis run --email
root      768865    1184  0 07:00 ?        00:00:00  \_ /usr/sbin/CRON -f
root      768871  768865  0 07:00 ?        00:00:00  |   \_ /bin/bash -c : YunoHost Automatic Diagnosis; sleep $((RANDOM%1200)); yunohost diagnosis run --email > /dev/null 2>/dev/null || echo "Running the automatic diagnosis failed miserably"
root      768955  768871  0 07:00 ?        00:03:11  |       \_ /usr/bin/python3 /usr/bin/yunohost diagnosis run --email
root      850650    1184  0 19:00 ?        00:00:00  \_ /usr/sbin/CRON -f
root      850659  850650  0 19:00 ?        00:00:00  |   \_ /bin/bash -c : YunoHost Automatic Diagnosis; sleep $((RANDOM%1200)); yunohost diagnosis run --email > /dev/null 2>/dev/null || echo "Running the automatic diagnosis failed miserably"
root      851586  850659  0 19:07 ?        00:00:17  |       \_ /usr/bin/python3 /usr/bin/yunohost diagnosis run --email
root      858998    1184  0 20:15 ?        00:00:00  \_ /usr/sbin/CRON -f
moodle    859007  858998  0 20:15 ?        00:00:00      \_ /bin/sh -c /usr/bin/php8.0 -f /var/www/moodle/admin/cli/cron.php >/dev/null
moodle    859010  859007  3 20:15 ?        00:00:05          \_ php /var/www/moodle/admin/cli/cron.php (oct. 18, 20:17:03 Waiting for next scheduled task)
root        1185       1  0 oct.13 ?       00:00:00 /usr/sbin/dovecot -F
--
root      267525  267412  0 oct.15 ?       00:00:00          \_ /bin/bash /etc/cron.daily/yunohost-certificate-renew
root      267526  267525  0 oct.15 ?       00:21:48              \_ /usr/bin/python3 /bin/yunohost domain cert renew --email

1 Like

Je ne peux pas depuis la webadmin, mais j’ai réussi en ssh. Par contre, cela n’a pas résolu le problème.

J’ai procédé une nouvelle fois au redémarrage du serveur et maintenant ce message n’apparait plus mais j’ai une nouveau message
J’ai une erreur de paquets cassé.

Lorsque je vais l’audit j’obtiens le paquet suivant

sudo dpkg --audit
Les paquets suivants sont à demi configurés, probablement à cause de
problèmes survenus lors de la première configuration. Il faudrait réessayer
de les configurer en utilisant dpkg --configure <paquet> ou l'option
configure du menu de dselect :
 grub-pc              GRand Unified Bootloader, version 2 (PC/BIOS version)

Mais lors de l’installation des erreurs sont présentes

sudo dpkg --configure grub-pc
Paramétrage de grub-pc (2.06-3~deb11u6) ...
Installation pour la plate-forme i386-pc.
grub-install : erreur : impossible de copier « /usr/share/locale/de@hebrew/LC_MESSAGES/grub.mo » vers « /boot/grub/locale/de@hebrew.mo » : Aucun espace disponible sur le périphérique.
You must correct your GRUB install devices before proceeding:

  DEBIAN_FRONTEND=dialog dpkg --configure grub-pc
  dpkg --configure -a
dpkg: erreur de traitement du paquet grub-pc (--configure) :
 installed grub-pc package post-installation script subprocess returned error exit status 1
Des erreurs ont été rencontrées pendant l'exécution :
 grub-pc

Le diagnostique yunohost me confirme l’erruer

Donc je regarde sur le forum.

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