Bonjour @ tous,
Matériel: Brique Internet avec VPN
L’architecture du serveur est bare-metal armhf
Le modèle de carte du serveur est Olimex A20-OLinuXino-LIME
Le serveur utilise le noyau Linux 4.19.62-sunxi
Le serveur utilise Debian 10.6
Le serveur utilise YunoHost 4.0.8.2 (stable)
yunohost version : 4.0.8.2 (stable)
yunohost-admin version : 4.0.4 (stable)
moulinette version : 4.0.3 (stable)
ssowat version : 4.0.5 (stable)
J’ai accès à mon serveur : En SSH | Par la webadmin
Êtes-vous dans un contexte particulier ou avez-vous effectué des modifications particulières sur votre instance ? : non
Description du problème :
postgresql ne démarre plus que se soit par la web admin ou en ssh avec la web admin dans service la réponse est “Le service « postgresql » a été démarré” et pourtant quand je regarde le journalctl il est écrit que le service c’est terminé avec une erreur ci-joint le lien yunopaste:https://paste.yunohost.org/ahumopulig qui permettra peut être de mieux comprendre ce qui ce passe.
Avec diagnostic j’ai le retour suivant:
Le service postgresql est failed
- Vous pouvez essayer de redémarrer le service, et si cela ne fonctionne pas, consultez les journaux de service dans le webadmin (à partir de la ligne de commande, vous pouvez le faire avec
yunohost service restart postgresql
etyunohost service log postgresql
).
Le redémarrage ne donne rien et yunohost service log postgresql
me retourne ceci:
/var/log/postgresql/postgresql-11-main.log:
journalctl:
- – Logs begin at Wed 2020-11-25 09:39:01 UTC, end at Wed 2020-11-25 12:46:02 UTC. –
- Nov 25 12:32:39 systemd[1]: Starting PostgreSQL Cluster 11-main…
- – Subject: A start job for unit postgresql@11-main.service has begun execution
- – Defined-By: systemd
- – Support: https://www.debian.org/support
- – A start job for unit postgresql@11-main.service has begun execution.
- – The job identifier is 33978.
- Nov 25 12:32:39 postgresql@11-main[20667]: Error: Could not open logfile /var/log/postgresql/postgresql-11-main.log
- Nov 25 12:32:39 postgresql@11-main[20667]: Error: /usr/lib/postgresql/11/bin/pg_ctl /usr/lib/postgresql/11/bin/pg_ctl start -D /var/lib/postgresql/11/main -l /var/log/postgresql/postgresql-11-main.log -s -o -c config_file="/etc/postgresql/11/main/postgresql.conf" exited with status 1:
- Nov 25 12:32:39 systemd[1]: postgresql@11-main.service: Can’t open PID file /run/postgresql/11-main.pid (yet?) after start: No such file or directory
- Nov 25 12:32:39 systemd[1]: postgresql@11-main.service: Failed with result ‘protocol’.
- – Subject: Unit failed
- – Defined-By: systemd
- – Support: https://www.debian.org/support
- – The unit postgresql@11-main.service has entered the ‘failed’ state with result ‘protocol’.
- Nov 25 12:32:39 systemd[1]: Failed to start PostgreSQL Cluster 11-main.
- – Subject: A start job for unit postgresql@11-main.service has failed
- – Defined-By: systemd
- – Support: https://www.debian.org/support
- – A start job for unit postgresql@11-main.service has finished with a failure.
- – The job identifier is 33978 and the job result is failed.
- Nov 25 12:39:30 systemd[1]: Starting PostgreSQL Cluster 11-main…
- – Subject: A start job for unit postgresql@11-main.service has begun execution
- – Defined-By: systemd
- – Support: https://www.debian.org/support
- – A start job for unit postgresql@11-main.service has begun execution.
- – The job identifier is 34139.
- Nov 25 12:39:31 postgresql@11-main[20865]: Error: Could not open logfile /var/log/postgresql/postgresql-11-main.log
- Nov 25 12:39:31 postgresql@11-main[20865]: Error: /usr/lib/postgresql/11/bin/pg_ctl /usr/lib/postgresql/11/bin/pg_ctl start -D /var/lib/postgresql/11/main -l /var/log/postgresql/postgresql-11-main.log -s -o -c config_file="/etc/postgresql/11/main/postgresql.conf" exited with status 1:
- Nov 25 12:39:31 systemd[1]: postgresql@11-main.service: Can’t open PID file /run/postgresql/11-main.pid (yet?) after start: No such file or directory
- Nov 25 12:39:31 systemd[1]: postgresql@11-main.service: Failed with result ‘protocol’.
- – Subject: Unit failed
- – Defined-By: systemd
- – Support: https://www.debian.org/support
- – The unit postgresql@11-main.service has entered the ‘failed’ state with result ‘protocol’.
- Nov 25 12:39:31 systemd[1]: Failed to start PostgreSQL Cluster 11-main.
- – Subject: A start job for unit postgresql@11-main.service has failed
- – Defined-By: systemd
- – Support: https://www.debian.org/support
- – A start job for unit postgresql@11-main.service has finished with a failure.
- – The job identifier is 34139 and the job result is failed.
root@didiercl:/var/lib/postgresql/11/main# nano /var/log/postgresql/postgresql-11-main.log
J’ai un peu de mal à appréhender le retour obtenu.
Merci d’avance pour vos conseils et vos idées.
Bon après midi.
didier58