journalctl -feu nginx

View as JSON View RAW
[root@alarmpi nginx]#  journalctl -feu nginx
-- Logs begin at Thu 2019-02-21 13:45:32 UTC. --
Mar 17 18:33:33 alarmpi systemd[1]: Starting A high performance web server and a reverse proxy server...
Mar 17 18:33:34 alarmpi nginx[1914]: 2019/03/17 18:33:33 [emerg] 1914#1914: "location" directive is not allowed here in /etc/nginx/nginx.conf:39
Mar 17 18:33:34 alarmpi systemd[1]: nginx.service: Control process exited, code=exited, status=1/FAILURE
Mar 17 18:33:34 alarmpi systemd[1]: nginx.service: Failed with result 'exit-code'.
Mar 17 18:33:34 alarmpi systemd[1]: Failed to start A high performance web server and a reverse proxy server.
Mar 17 18:46:07 alarmpi systemd[1]: Starting A high performance web server and a reverse proxy server...
Mar 17 18:46:08 alarmpi nginx[1982]: 2019/03/17 18:46:08 [emerg] 1982#1982: "location" directive is not allowed here in /etc/nginx/nginx.conf:39
Mar 17 18:46:08 alarmpi systemd[1]: nginx.service: Control process exited, code=exited, status=1/FAILURE
Mar 17 18:46:08 alarmpi systemd[1]: nginx.service: Failed with result 'exit-code'.
Mar 17 18:46:08 alarmpi systemd[1]: Failed to start A high performance web server and a reverse proxy server.
Mar 17 18:52:47 alarmpi systemd[1]: Starting A high performance web server and a reverse proxy server...
Mar 17 18:52:47 alarmpi nginx[2025]: 2019/03/17 18:52:47 [emerg] 2025#2025: "server" directive is not allowed here in /etc/nginx/nginx.conf:40
Mar 17 18:52:47 alarmpi systemd[1]: nginx.service: Control process exited, code=exited, status=1/FAILURE
Mar 17 18:52:47 alarmpi systemd[1]: nginx.service: Failed with result 'exit-code'.
Mar 17 18:52:47 alarmpi systemd[1]: Failed to start A high performance web server and a reverse proxy server.
Mar 17 18:59:06 alarmpi systemd[1]: Starting A high performance web server and a reverse proxy server...
Mar 17 18:59:06 alarmpi nginx[2057]: 2019/03/17 18:59:06 [emerg] 2057#2057: unexpected end of file, expecting "}" in /etc/nginx/nginx.conf:79
Mar 17 18:59:06 alarmpi systemd[1]: nginx.service: Control process exited, code=exited, status=1/FAILURE
Mar 17 18:59:06 alarmpi systemd[1]: nginx.service: Failed with result 'exit-code'.
Mar 17 18:59:06 alarmpi systemd[1]: Failed to start A high performance web server and a reverse proxy server.
Mar 17 18:59:25 alarmpi systemd[1]: Starting A high performance web server and a reverse proxy server...
Mar 17 18:59:25 alarmpi nginx[2060]: 2019/03/17 18:59:25 [emerg] 2060#2060: unexpected end of file, expecting "}" in /etc/nginx/nginx.conf:79
Mar 17 18:59:25 alarmpi systemd[1]: nginx.service: Control process exited, code=exited, status=1/FAILURE
Mar 17 18:59:25 alarmpi systemd[1]: nginx.service: Failed with result 'exit-code'.
Mar 17 18:59:25 alarmpi systemd[1]: Failed to start A high performance web server and a reverse proxy server.
Mar 17 19:06:33 alarmpi systemd[1]: Starting A high performance web server and a reverse proxy server...
Mar 17 19:06:33 alarmpi nginx[2088]: 2019/03/17 19:06:33 [emerg] 2088#2088: unexpected end of file, expecting "}" in /etc/nginx/nginx.conf:79
Mar 17 19:06:33 alarmpi systemd[1]: nginx.service: Control process exited, code=exited, status=1/FAILURE
Mar 17 19:06:33 alarmpi systemd[1]: nginx.service: Failed with result 'exit-code'.
Mar 17 19:06:33 alarmpi systemd[1]: Failed to start A high performance web server and a reverse proxy server.
Mar 17 19:11:20 alarmpi systemd[1]: Starting A high performance web server and a reverse proxy server...
Mar 17 19:11:20 alarmpi nginx[2116]: 2019/03/17 19:11:20 [emerg] 2116#2116: SSL_CTX_use_PrivateKey_file("/etc/letsencrypt/live/famchat.de-0001/cert.key") failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen('/etc/letsencrypt/live/famchat.de-0001/cert.key','r') error:20074002:BIO routines:file_ctrl:system lib error:140B0002:SSL routines:SSL_CTX_use_PrivateKey_file:system lib)
Mar 17 19:11:20 alarmpi systemd[1]: nginx.service: Control process exited, code=exited, status=1/FAILURE
Mar 17 19:11:20 alarmpi systemd[1]: nginx.service: Failed with result 'exit-code'.
Mar 17 19:11:20 alarmpi systemd[1]: Failed to start A high performance web server and a reverse proxy server.