Projet

Général

Profil

Anomalie #7637

Si le fichier de configuration n'existe pas, le démarrage est bloqué

Ajouté par Emmanuel GARETTE il y a environ 10 ans. Mis à jour il y a environ 10 ans.

Statut:
Fermé
Priorité:
Haut
Assigné à:
Catégorie:
-
Début:
28/03/2014
Echéance:
04/04/2014
% réalisé:

100%

Temps passé:
Distribution:
EOLE 2.4

Description

Suite au bug #7636 (le fichier /etc/eole/flask/eoleflask.conf n'existe pas), le service reste bloqué et ne rend pas la main.

# /etc/init.d/eoleflask start
 * Starting eole flask server eoleflask                                                                                                                       2014-03-14 12:02:24 [3177] [INFO] Starting gunicorn 0.13.4
2014-03-14 12:02:24 [3177] [INFO] Listening at: http://127.0.0.1:8000 (3177)
2014-03-14 12:02:24 [3177] [INFO] Using worker: sync
2014-03-14 12:02:24 [3180] [INFO] Booting worker with pid: 3180
Missing cookie

Demandes liées

Lié à eole-flask - Anomalie #7636: le fichier de configuration n'est plus présent dans le paquet eole-flask-server Fermé 21/03/2014

Révisions associées

Révision a663785c (diff)
Ajouté par Daniel Dehennin il y a environ 10 ans

Le démon ne démarre pas sans configuration

  • eoleflask.init: Émettre un avertissement si le fichier de
    configuration n’est pas présent.

Fixes: #7637 @15m

Historique

#1 Mis à jour par Joël Cuissinat il y a environ 10 ans

  • Echéance mis à 04/04/2014

#2 Mis à jour par Daniel Dehennin il y a environ 10 ans

Sur mon eolebase à jour, j’obtiens le résultat suivant :

root@eolebase:~# /etc/init.d/eoleflask stop
 * Stopping eole flask server eoleflask                         [ OK ] 
root@eolebase:~# mv /etc/eole/flask/eoleflask.conf /tmp/
root@eolebase:~# /etc/init.d/eoleflask start
 * Starting eole flask server eoleflask
2014-03-26 09:29:31 [18353] [INFO] Starting gunicorn 0.13.4
2014-03-26 09:29:31 [18353] [ERROR] Connection in use: ('127.0.0.1', 8000)
2014-03-26 09:29:31 [18353] [ERROR] Retrying in 1 second.
2014-03-26 09:29:32 [18353] [ERROR] Connection in use: ('127.0.0.1', 8000)
2014-03-26 09:29:32 [18353] [ERROR] Retrying in 1 second.
2014-03-26 09:29:33 [18353] [ERROR] Connection in use: ('127.0.0.1', 8000)
2014-03-26 09:29:33 [18353] [ERROR] Retrying in 1 second.
2014-03-26 09:29:34 [18353] [ERROR] Connection in use: ('127.0.0.1', 8000)
2014-03-26 09:29:34 [18353] [ERROR] Retrying in 1 second.
2014-03-26 09:29:35 [18353] [ERROR] Connection in use: ('127.0.0.1', 8000)
2014-03-26 09:29:35 [18353] [ERROR] Retrying in 1 second.
2014-03-26 09:29:36 [18353] [ERROR] Can't connect to ('127.0.0.1', 8000)
                                                                [fail]

Le service ne bloque pas.

#3 Mis à jour par Daniel Dehennin il y a environ 10 ans

  • Statut changé de Nouveau à Résolu
  • % réalisé changé de 0 à 100

#4 Mis à jour par Daniel Dehennin il y a environ 10 ans

  • Assigné à mis à Daniel Dehennin
  • Début mis à 28/03/2014

Un peu d’administratif

#5 Mis à jour par Joël Cuissinat il y a environ 10 ans

  • Statut changé de Résolu à Fermé

OK avec les paquets : eole-flask 2.4.0-22

root@amon:~# /etc/init.d/eoleflask stop
 * Stopping eole flask server eoleflask                                                                                         [ OK ] 
root@amon:~# mv /etc/eole/flask/eoleflask.conf .
root@amon:~# /etc/init.d/eoleflask start
 * Not starting eole flask server, missing configuration file /etc/eole/flask/eoleflask.conf
root@amon:~#

Formats disponibles : Atom PDF