nginx won't restart, and reports "Unit entered failed state" -


i trying restart nginx. type in terminal (ubuntu). see issue here?

sudo systemctl restart nginx.service 

i error message:

job nginx.service failed because control process exited error code. see "systemctl status nginx.service" , "journalctl -xe" details.

this error message.

**sudo journalctl -xe**  *-- unit unit has finished starting up. -- unit unit has finished starting up. --  -- start-up result done.  sep 13 22:36:08 vultr.guest systemd[7806]: reached target basic system. -- subject: unit unit has finished start-up -- defined-by: systemd -- support:  --  -- unit unit has finished starting up. --  -- start-up result done.  sep 13 22:36:08 vultr.guest systemd[7806]: reached target default. -- subject: unit unit has finished start-up -- defined-by: systemd -- support:  --  -- unit unit has finished starting up. --  -- start-up result done.  sep 13 22:36:08 vultr.guest systemd[7806]: startup finished in 29ms. -- subject: system start-up complete -- defined-by: systemd -- support:  --  -- system services necessary queued starting @ boot have been -- started. note not mean machine -- idle services might still busy completing start-up. --  -- kernel start-up required kernel_usec microseconds. --  -- initial ram disk start-up required initrd_usec microseconds. --  -- userspace start-up required 29146 microseconds.  sep 13 22:36:08 vultr.guest systemd[1]: started user manager uid 0. -- subject: unit user@0.service has finished start-up -- defined-by: systemd -- support:  --  -- unit user@0.service has finished starting up. --  -- start-up result done.  sep 13 22:36:13 vultr.guest su[7854]: successful su mastodon root  sep 13 22:36:13 vultr.guest su[7854]: + /dev/pts/0 root:mastodon  sep 13 22:36:13 vultr.guest su[7854]: pam_unix(su:session): session opened user mastodon root(uid=0)  sep 13 22:36:13 vultr.guest su[7854]: pam_systemd(su:session): cannot create session: running in session  sep 13 22:39:40 vultr.guest sudo[7868]: pam_unix(sudo:auth): authentication failure; logname=root uid=1000 euid=0 tty=/dev/pts/0 ruser=mastodon rhost=  user=mastodon  sep 13 22:40:07 vultr.guest sudo[7868]: mastodon : tty=pts/0 ; pwd=/home/mastodon ; user=root ; command=/bin/nano /etc/nginx/sites-available/mastodon  sep 13 22:40:07 vultr.guest sudo[7868]: pam_unix(sudo:session): session opened user root root(uid=0)  sep 13 22:41:02 vultr.guest sudo[7868]: pam_unix(sudo:session): session closed user root  sep 13 22:41:06 vultr.guest sudo[7896]: mastodon : tty=pts/0 ; pwd=/home/mastodon ; user=root ; command=/bin/nano /etc/nginx/sites-available/mastodon  sep 13 22:41:06 vultr.guest sudo[7896]: pam_unix(sudo:session): session opened user root root(uid=0)  sep 13 22:42:22 vultr.guest sudo[7896]: pam_unix(sudo:session): session closed user root  sep 13 22:43:02 vultr.guest sudo[7910]: mastodon : tty=pts/0 ; pwd=/home/mastodon ; user=root ; command=/bin/systemctl restart nginx.service  sep 13 22:43:02 vultr.guest sudo[7910]: pam_unix(sudo:session): session opened user root root(uid=0)  sep 13 22:43:02 vultr.guest systemd[1]: stopped high performance web server , reverse proxy server. -- subject: unit nginx.service has finished shutting down -- defined-by: systemd -- support:  --  -- unit nginx.service has finished shutting down.  sep 13 22:43:02 vultr.guest systemd[1]: starting high performance web server , reverse proxy server... -- subject: unit nginx.service has begun start-up -- defined-by: systemd -- support:  --  -- unit nginx.service has begun starting up.  sep 13 22:43:02 vultr.guest nginx[7913]: nginx: [emerg] bio_new_file("/etc/letsencrypt/live/cumbiame.com/fullchain.pem") failed (ssl: error:02001002:system library:fopen:no such file or directory:fopen('/etc/letsencrypt/live/cumbiame.com/  sep 13 22:43:02 vultr.guest nginx[7913]: nginx: configuration file /etc/nginx/nginx.conf test failed sep 13 22:43:02 vultr.guest systemd[1]: nginx.service: control process exited, code=exited status=1  sep 13 22:43:02 vultr.guest systemd[1]: failed start high performance web server , reverse proxy server. -- subject: unit nginx.service has failed -- defined-by: systemd -- support:  --  -- unit nginx.service has failed. --  -- result failed.  sep 13 22:43:02 vultr.guest systemd[1]: nginx.service: unit entered failed state.  sep 13 22:43:02 vultr.guest systemd[1]: nginx.service: failed result 'exit-code'.  sep 13 22:43:02 vultr.guest sudo[7910]: pam_unix(sudo:session): session closed user root sep 13 22:43:16 vultr.guest sudo[7920]: mastodon : tty=pts/0 ; pwd=/home/mastodon ; user=root ; command=/bin/journalctl -xe  sep 13 22:43:16 vultr.guest sudo[7920]: pam_unix(sudo:session): session opened user root root(uid=0) lines 1796-1868/1868 (end)*  **sudo systemctl status nginx.service**  *nginx.service - high performance web server , reverse proxy server    loaded: loaded (/lib/systemd/system/nginx.service; enabled; vendor preset: enabled)    active: failed (result: exit-code) since wed 2017-09-13 22:52:48 utc; 13s ago   process: 5694 execstop=/sbin/start-stop-daemon --quiet --stop --retry quit/5 --pidfile /run/nginx.pid (code=exited, status=0/success)   process: 8020 execstartpre=/usr/sbin/nginx -t -q -g daemon on; master_process on; (code=exited, status=1/failure)  main pid: 3013 (code=exited, status=0/success)  sep 13 22:52:48 vultr.guest systemd[1]: starting high performance web server , reverse proxy server...  sep 13 22:52:48 vultr.guest nginx[8020]: nginx: [emerg] bio_new_file("/etc/letsencrypt/live/cumbiame.com/fullchain.pem") failed (ssl: error:02001002:system library:fopen:no such file or directory:fopen('/etc/letsencrypt/live/cumbiame.com/  sep 13 22:52:48 vultr.guest nginx[8020]: nginx: configuration file /etc/nginx/nginx.conf test failed  sep 13 22:52:48 vultr.guest systemd[1]: nginx.service: control process exited, code=exited status=1  sep 13 22:52:48 vultr.guest systemd[1]: failed start high performance web server , reverse proxy server.  sep 13 22:52:48 vultr.guest systemd[1]: nginx.service: unit entered failed state.  sep 13 22:52:48 vultr.guest systemd[1]: nginx.service: failed result 'exit-code'. lines 1-14/14 (end) * 


Comments

Popular posts from this blog

ios - MKAnnotationView layer is not of expected type: MKLayer -

ZeroMQ on Windows, with Qt Creator -

unity3d - Unity SceneManager.LoadScene quits application -