Skip to content

Instantly share code, notes, and snippets.

@frittro
Created December 19, 2021 02:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save frittro/bdec18bb4be0045486a97eb207481b53 to your computer and use it in GitHub Desktop.
Save frittro/bdec18bb4be0045486a97eb207481b53 to your computer and use it in GitHub Desktop.
I tried restarting the NGINX server with `sudo yunohost service restart nginx`, but it failed.
admin@test-fmds:~ $ sudo yunohost service restart nginx
Job for nginx.service failed because the control process exited with error code.
See "systemctl status nginx.service" and "journalctl -xe" for details.
Warning: Could not execute the command 'systemctl restart nginx'
Error: Could not restart the service 'nginx'
Recent service logs:-- Logs begin at Sat 2021-12-18 22:00:14 GMT, end at Sun 2021-12-19 02:09:21 GMT. --
Dec 18 22:00:29 systemd[1]: Starting A high performance web server and a reverse proxy server...
Dec 18 22:00:31 nginx[745]: nginx: [warn] "ssl_stapling" ignored, host not found in OCSP responder "r3.o.lencr.org" in the certificate "/etc/yunohost/certs/test-fmds.noho.st/crt.pem"
Dec 18 22:00:31 nginx[745]: nginx: [warn] "ssl_stapling" ignored, host not found in OCSP responder "r3.o.lencr.org" in the certificate "/etc/yunohost/certs/test-fmds.noho.st/crt.pem"
Dec 18 22:00:31 nginx[745]: nginx: [emerg] socket() [::]:80 failed (97: Address family not supported by protocol)
Dec 18 22:00:31 nginx[745]: nginx: configuration file /etc/nginx/nginx.conf test failed
Dec 18 22:00:31 systemd[1]: nginx.service: Control process exited, code=exited, status=1/FAILURE
Dec 18 22:00:31 systemd[1]: nginx.service: Failed with result 'exit-code'.
Dec 18 22:00:31 systemd[1]: Failed to start A high performance web server and a reverse proxy server.
Dec 18 22:21:09 systemd[1]: Starting A high performance web server and a reverse proxy server...
Dec 18 22:21:09 nginx[2090]: nginx: [warn] "ssl_stapling" ignored, host not found in OCSP responder "r3.o.lencr.org" in the certificate "/etc/yunohost/certs/test-fmds.noho.st/crt.pem"
Dec 18 22:21:09 nginx[2090]: nginx: [warn] "ssl_stapling" ignored, host not found in OCSP responder "r3.o.lencr.org" in the certificate "/etc/yunohost/certs/test-fmds.noho.st/crt.pem"
Dec 18 22:21:10 nginx[2090]: nginx: [emerg] socket() [::]:80 failed (97: Address family not supported by protocol)
Dec 18 22:21:10 nginx[2090]: nginx: configuration file /etc/nginx/nginx.conf test failed
Dec 18 22:21:10 systemd[1]: nginx.service: Control process exited, code=exited, status=1/FAILURE
Dec 18 22:21:10 systemd[1]: nginx.service: Failed with result 'exit-code'.
Dec 18 22:21:10 systemd[1]: Failed to start A high performance web server and a reverse proxy server.
Dec 19 00:20:55 systemd[1]: Starting A high performance web server and a reverse proxy server...
Dec 19 00:20:55 nginx[6315]: nginx: [warn] "ssl_stapling" ignored, host not found in OCSP responder "r3.o.lencr.org" in the certificate "/etc/yunohost/certs/test-fmds.noho.st/crt.pem"
Dec 19 00:20:55 nginx[6315]: nginx: [warn] "ssl_stapling" ignored, host not found in OCSP responder "r3.o.lencr.org" in the certificate "/etc/yunohost/certs/test-fmds.noho.st/crt.pem"
Dec 19 00:20:55 nginx[6315]: nginx: [emerg] socket() [::]:80 failed (97: Address family not supported by protocol)
Dec 19 00:20:55 nginx[6315]: nginx: configuration file /etc/nginx/nginx.conf test failed
Dec 19 00:20:55 systemd[1]: nginx.service: Control process exited, code=exited, status=1/FAILURE
Dec 19 00:20:55 systemd[1]: nginx.service: Failed with result 'exit-code'.
Dec 19 00:20:55 systemd[1]: Failed to start A high performance web server and a reverse proxy server.
Dec 19 02:09:21 systemd[1]: Starting A high performance web server and a reverse proxy server...
Dec 19 02:09:21 nginx[10134]: nginx: [warn] "ssl_stapling" ignored, host not found in OCSP responder "r3.o.lencr.org" in the certificate "/etc/yunohost/certs/test-fmds.noho.st/crt.pem"
Dec 19 02:09:21 nginx[10134]: nginx: [warn] "ssl_stapling" ignored, host not found in OCSP responder "r3.o.lencr.org" in the certificate "/etc/yunohost/certs/test-fmds.noho.st/crt.pem"
Dec 19 02:09:21 nginx[10134]: nginx: [emerg] socket() [::]:80 failed (97: Address family not supported by protocol)
Dec 19 02:09:21 nginx[10134]: nginx: configuration file /etc/nginx/nginx.conf test failed
Dec 19 02:09:21 systemd[1]: nginx.service: Control process exited, code=exited, status=1/FAILURE
Dec 19 02:09:21 systemd[1]: nginx.service: Failed with result 'exit-code'.
Dec 19 02:09:21 systemd[1]: Failed to start A high performance web server and a reverse proxy server.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment