Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 17/04/2020, à 16:20

MaxenceFIU

Problème NGINX

Bonjour à tous !

J’essaie d'installer le panel nommé Pterodactyl mais lorsque je démarre Nginx j'ai des erreurs :

Mon erreur quand je fais : journalctl -xe

- Subject: A start job for unit nginx.service has begun execution
-- Defined-By: systemd
-- A start job for unit nginx.service has begun execution.
--
-- The job identifier is 4093.
Apr 17 17:17:34 vmi355633.contaboserver.net nginx[31880]: nginx: [emerg] BIO_new_file("/etc/letsencr
Apr 17 17:17:34 vmi355633.contaboserver.net nginx[31880]: nginx: configuration file /etc/nginx/nginx
Apr 17 17:17:34 vmi355633.contaboserver.net systemd[1]: nginx.service: Control process exited, code=
-- Subject: Unit process exited
-- Defined-By: systemd
--
-- An ExecStartPre= process belonging to unit nginx.service has exited.
--
-- The process' exit code is 'exited' and its exit status is 1.
Apr 17 17:17:34 vmi355633.contaboserver.net systemd[1]: nginx.service: Failed with result 'exit-code
-- Subject: Unit failed
-- Defined-By: systemd

-- The unit nginx.service has entered the 'failed' state with result 'exit-code'.
Apr 17 17:17:34 vmi355633.contaboserver.net systemd[1]: Failed to start A high performance web serve
-- Subject: A start job for unit nginx.service has failed
-- Defined-By: systemd

-- A start job for unit nginx.service has finished with a failure.
--
-- The job identifier is 4093 and the job result is failed.
Apr 17 17:17:34 vmi355633.contaboserver.net sshd[31876]: Failed password for invalid user beny from

et systemctl status nginx.service

Job for nginx.service failed because the control process exited with error code.
See "systemctl status nginx.service" and "journalctl -xe" for details.
root@vmi355633:~# 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)
   Active: failed (Result: exit-code) since Fri 2020-04-17 17:19:52 CEST; 12s ago
     Docs: man:nginx(8)
  Process: 31971 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; master_process on; (code=exited,

Apr 17 17:19:52 vmi355633.contaboserver.net systemd[1]: Starting A high performance web server and
Apr 17 17:19:52 vmi355633.contaboserver.net nginx[31971]: nginx: [emerg] BIO_new_file("/etc/letsenc
Apr 17 17:19:52 vmi355633.contaboserver.net nginx[31971]: nginx: configuration file /etc/nginx/ngin
Apr 17 17:19:52 vmi355633.contaboserver.net systemd[1]: nginx.service: Control process exited, code
Apr 17 17:19:52 vmi355633.contaboserver.net systemd[1]: nginx.service: Failed with result 'exit-cod
Apr 17 17:19:52 vmi355633.contaboserver.net systemd[1]: Failed to start A high performance web serv

Merci d'avance!
Maxence

Hors ligne

#2 Le 18/04/2020, à 13:19

metalux

Re : Problème NGINX

Bonjour,

Loin d'être expert de Nginx, je vois BIO_new_file("/etc/letsencr (la fin est tronquée?), ce qui me fait penser à un problème de certificats. Soit le chemin est mal indiqué dans Nginx, soit tu n'as pas les certificats en question mais le problème se situe à ce niveau.

Hors ligne

#3 Le 16/10/2020, à 14:59

bruno

Re : Problème NGINX

Modération : déplacé dans la section idoine.

--
Les lignes son coupées, merci d'utiliser et de renvoyer :

systemctl --no-pager -l status nginx.service