Anomalie #7637
Si le fichier de configuration n'existe pas, le démarrage est bloqué
Status:
Fermé
Priority:
Haut
Assigned To:
Category:
-
Target version:
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
Related issues
Associated revisions
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
History
#1 Updated by Joël Cuissinat over 9 years ago
- Due date set to 04/04/2014
#2 Updated by Daniel Dehennin over 9 years ago
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 Updated by Daniel Dehennin over 9 years ago
- Status changed from Nouveau to Résolu
- % Done changed from 0 to 100
Appliqué par commit a663785ce84d134b80d3f24d04174277f8d7969d.
#4 Updated by Daniel Dehennin over 9 years ago
- Assigned To set to Daniel Dehennin
- Start date set to 03/28/2014
Un peu d’administratif
#5 Updated by Joël Cuissinat over 9 years ago
- Status changed from Résolu to 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:~#