Re: Domoticz et Google Home via le plugin DZGA
Publié : 15 nov. 2020, 22:05
J'ai bien tenté d'installer NGINX..
mais je n'arrive pas à le lancer...
Il reste en failed.
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 Sun 2020-11-15 21:48:54 CET; 1min 13s ago
Docs: man:nginx(8)
Process: 11124 ExecStop=/sbin/start-stop-daemon --quiet --stop --retry QUIT/5 --pidfile /run/nginx.pid (code=exited, status=0/SUCCESS)
Process: 11130 ExecStart=/usr/sbin/nginx -g daemon on; master_process on; (code=exited, status=1/FAILURE)
Process: 13111 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; master_process on; (code=exited, status=1/FAILURE)
Main PID: 2101 (code=exited, status=0/SUCCESS)
CPU: 34ms
nov. 15 21:48:54 raspberrypi systemd[1]: Starting A high performance web server and a reverse proxy server...
nov. 15 21:48:54 raspberrypi nginx[13111]: [86B blob data]
nov. 15 21:48:54 raspberrypi nginx[13111]: nginx: configuration file /etc/nginx/nginx.conf test failed
nov. 15 21:48:54 raspberrypi systemd[1]: nginx.service: Control process exited, code=exited status=1
nov. 15 21:48:54 raspberrypi systemd[1]: Failed to start A high performance web server and a reverse proxy server.
nov. 15 21:48:54 raspberrypi systemd[1]: nginx.service: Unit entered failed state.
nov. 15 21:48:54 raspberrypi systemd[1]: nginx.service: Failed with result 'exit-code'.
quand je fais nginx -t
nginx: [alert] could not open error log file: open() "/var/log/nginx/error.log" failed (13: Permission denied)
2020/11/15 21:53:40 [warn] 13553#13553: the "user" directive makes sense only if the master process runs with super-user privileges, ignored in /etc/nginx/nginx.conf:1
2020/11/15 21:53:40 [emerg] 13553#13553: unknown directive "n /etc/nginx/sites-enabled/s already in use):1
nginx: configuration file /etc/nginx/nginx.conf test failed
mais je n'arrive pas à le lancer...
Il reste en failed.
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 Sun 2020-11-15 21:48:54 CET; 1min 13s ago
Docs: man:nginx(8)
Process: 11124 ExecStop=/sbin/start-stop-daemon --quiet --stop --retry QUIT/5 --pidfile /run/nginx.pid (code=exited, status=0/SUCCESS)
Process: 11130 ExecStart=/usr/sbin/nginx -g daemon on; master_process on; (code=exited, status=1/FAILURE)
Process: 13111 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; master_process on; (code=exited, status=1/FAILURE)
Main PID: 2101 (code=exited, status=0/SUCCESS)
CPU: 34ms
nov. 15 21:48:54 raspberrypi systemd[1]: Starting A high performance web server and a reverse proxy server...
nov. 15 21:48:54 raspberrypi nginx[13111]: [86B blob data]
nov. 15 21:48:54 raspberrypi nginx[13111]: nginx: configuration file /etc/nginx/nginx.conf test failed
nov. 15 21:48:54 raspberrypi systemd[1]: nginx.service: Control process exited, code=exited status=1
nov. 15 21:48:54 raspberrypi systemd[1]: Failed to start A high performance web server and a reverse proxy server.
nov. 15 21:48:54 raspberrypi systemd[1]: nginx.service: Unit entered failed state.
nov. 15 21:48:54 raspberrypi systemd[1]: nginx.service: Failed with result 'exit-code'.
quand je fais nginx -t
nginx: [alert] could not open error log file: open() "/var/log/nginx/error.log" failed (13: Permission denied)
2020/11/15 21:53:40 [warn] 13553#13553: the "user" directive makes sense only if the master process runs with super-user privileges, ignored in /etc/nginx/nginx.conf:1
2020/11/15 21:53:40 [emerg] 13553#13553: unknown directive "n /etc/nginx/sites-enabled/s already in use):1
nginx: configuration file /etc/nginx/nginx.conf test failed