Tâche #16697
Scénario #16516: Traitement express (25-27)
Amon : nginx ne redémarre pas après un reconfigure
Restant à faire (heures):
0.0
Description
Extrait du journalctl :
juil. 05 09:50:02 amon nginx[11738]: nginx: [emerg] host not found in upstream "scribe.etb1.lan" in /etc/nginx/sites-enabled/default:84 juil. 05 09:50:02 amon nginx[11738]: nginx: configuration file /etc/nginx/nginx.conf test failed juil. 05 09:50:02 amon systemd[1]: nginx.service: Control process exited, code=exited status=1 juil. 05 09:50:02 amon systemd[1]: Failed to start A high performance web server and a reverse proxy server. -- Subject: L'unité (unit) nginx.service a échoué -- Defined-By: systemd -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel -- -- L'unité (unit) nginx.service a échoué, avec le résultat failed. juil. 05 09:50:02 amon systemd[1]: nginx.service: Unit entered failed state. juil. 05 09:50:02 amon systemd[1]: nginx.service: Failed with result 'exit-code'.
Un simple service nginx start suffit après pour le relancer.
Révisions associées
Ajout d'un nginx.override pour démarrer après le service bind9 (ref #16697 3h)
Ajout d'un bind9.override pour démarrer bind9 en mode démon (ref #16697 0.5h)
il manque un mkdir pour créer les dossiers de l'override (ref #16697)
il manque un mkdir pour créer les dossiers de l'override (ref #16697)
Historique
#1 Mis à jour par Lionel Morin il y a presque 8 ans
- Description mis à jour (diff)
#2 Mis à jour par Lionel Morin il y a presque 8 ans
- Statut changé de Nouveau à En cours
#3 Mis à jour par Lionel Morin il y a presque 8 ans
- Assigné à mis à Lionel Morin
#4 Mis à jour par Lionel Morin il y a presque 8 ans
- Statut changé de En cours à Résolu
- % réalisé changé de 0 à 100
- Restant à faire (heures) changé de 4.0 à 0.5
#5 Mis à jour par Emmanuel GARETTE il y a presque 8 ans
- Statut changé de Résolu à Fermé
- Restant à faire (heures) changé de 0.5 à 0.0
Nginx est bien démarré après bind :
root@amon:/var/lib/dpkg/info# systemctl status bind9 ● bind9.service - BIND Domain Name Server Loaded: loaded (/lib/systemd/system/bind9.service; enabled; vendor preset: enabled) Drop-In: /run/systemd/generator/bind9.service.d └─50-insserv.conf-$named.conf /etc/systemd/system/bind9.service.d └─override.conf Active: active (running) since jeu. 2016-07-07 17:09:37 CEST; 1min 4s ago Docs: man:named(8) Process: 19311 ExecStop=/usr/sbin/rndc stop (code=exited, status=0/SUCCESS) Process: 20037 ExecStart=/usr/sbin/named -u bind (code=exited, status=0/SUCCESS) Main PID: 20088 (named) CGroup: /system.slice/bind9.service └─20088 /usr/sbin/named -u bind juil. 07 17:09:37 amon named[20088]: zone 1.1.10.in-addr.arpa/IN/tous: loaded serial 2016070700 juil. 07 17:09:37 amon named[20088]: zone domsupp1.lan/IN/tous: loaded serial 2016070700 juil. 07 17:09:37 amon named[20088]: zone 2.1.10.in-addr.arpa/IN/tous: loaded serial 2016070700 juil. 07 17:09:37 amon named[20088]: zone 3.1.10.in-addr.arpa/IN/tous: loaded serial 2016070700 juil. 07 17:09:37 amon named[20088]: zone 0.168.192.in-addr.arpa/IN/tous: loaded serial 2016070700 juil. 07 17:09:37 amon named[20088]: zone 0.0.127.in-addr.arpa/IN/tous: loaded serial 2016070700 juil. 07 17:09:37 amon named[20088]: zone etb1.lan/IN/tous: loaded serial 2016070700 juil. 07 17:09:37 amon named[20088]: all zones loaded juil. 07 17:09:37 amon named[20088]: running juil. 07 17:09:37 amon systemd[1]: Started BIND Domain Name Server. root@amon:/var/lib/dpkg/info# systemctl status nginx.service ● nginx.service - A high performance web server and a reverse proxy server Loaded: loaded (/lib/systemd/system/nginx.service; enabled; vendor preset: enabled) Drop-In: /etc/systemd/system/nginx.service.d └─override.conf Active: active (running) since jeu. 2016-07-07 17:09:38 CEST; 1min 10s ago Process: 20139 ExecStart=/usr/sbin/nginx -g daemon on; master_process on; (code=exited, status=0/SUCCESS) Process: 20123 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; master_process on; (code=exited, status=0/SUCCESS) Main PID: 20159 (nginx) CGroup: /system.slice/nginx.service ├─20159 nginx: master process /usr/sbin/nginx -g daemon on; master_process on ├─20162 nginx: worker process ├─20163 nginx: worker process ├─20164 nginx: worker process └─20165 nginx: worker process juil. 07 17:09:38 amon systemd[1]: Starting A high performance web server and a reverse proxy server... juil. 07 17:09:38 amon nginx[20123]: nginx: [warn] duplicate value "TLSv1" in /etc/nginx/conf.d/nosslv3.conf:2 juil. 07 17:09:38 amon nginx[20139]: nginx: [warn] duplicate value "TLSv1" in /etc/nginx/conf.d/nosslv3.conf:2 juil. 07 17:09:38 amon systemd[1]: Started A high performance web server and a reverse proxy server.