Report this

What is the reason for this report?

Cant restart nginx server

Posted on January 17, 2017

I don’t even know where to begin with fixing this issue. Anyone have any advice?

sudo service nginx restart
Job for nginx.service failed because the control process exited with error code. See "systemctl status nginx.service" and "journalctl -xe" for details.
root@web:/var/www/lyndseearmstrong# journalctl -xe
Jan 17 23:33:07 web sshd[11756]: Connection reset by 221.208.195.106 port 50870 
Jan 17 23:33:07 web sshd[11756]: PAM 4 more authentication failures; logname= ui
Jan 17 23:33:07 web sshd[11756]: PAM service(sshd) ignoring max retries; 5 > 3
Jan 17 23:33:08 web sshd[11760]: fatal: Unable to negotiate with 91.195.103.166 
Jan 17 23:33:09 web sshd[11758]: pam_unix(sshd:auth): authentication failure; lo
Jan 17 23:33:10 web sudo[11762]:     root : TTY=pts/0 ; PWD=/var/www/lyndseearms
Jan 17 23:33:10 web sudo[11762]: pam_unix(sudo:session): session opened for user
Jan 17 23:33:11 web sshd[11758]: Failed password for root from 221.208.195.106 p
Jan 17 23:33:14 web sshd[11758]: Failed password for root from 221.208.195.106 p
Jan 17 23:33:14 web sudo[11762]: pam_unix(sudo:session): session closed for user
Jan 17 23:33:16 web sshd[11758]: Failed password for root from 221.208.195.106 p
Jan 17 23:33:18 web sudo[11964]:     root : TTY=pts/0 ; PWD=/var/www/lyndseearms
Jan 17 23:33:18 web sudo[11964]: pam_unix(sudo:session): session opened for user
Jan 17 23:33:18 web systemd[1]: Stopped A high performance web server and a reve
-- Subject: Unit nginx.service has finished shutting down
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit nginx.service has finished shutting down.
Jan 17 23:33:18 web systemd[1]: Starting A high performance web server and a rev
-- Subject: Unit nginx.service has begun start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit nginx.service has begun starting up.
Jan 17 23:33:18 web nginx[11971]: nginx: [emerg] "location" directive is not all
Jan 17 23:33:18 web nginx[11971]: nginx: configuration file /etc/nginx/nginx.con
Jan 17 23:33:18 web systemd[1]: nginx.service: Control process exited, code=exit
Jan 17 23:33:18 web sudo[11964]: pam_unix(sudo:session): session closed for user
Jan 17 23:33:18 web systemd[1]: Failed to start A high performance web server an
-- Subject: Unit nginx.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit nginx.service has failed.
-- 
-- The result is failed.
Jan 17 23:33:18 web systemd[1]: nginx.service: Unit entered failed state.
Jan 17 23:33:18 web systemd[1]: nginx.service: Failed with result 'exit-code'.
Jan 17 23:33:19 web sshd[11758]: Failed password for root from 221.208.195.106 p
Jan 17 23:33:21 web sshd[11758]: Failed password for root from 221.208.195.106 p
Jan 17 23:33:21 web sshd[11758]: Connection reset by 221.208.195.106 port 51628 
Jan 17 23:33:21 web sshd[11758]: PAM 4 more authentication failures; logname= ui
Jan 17 23:33:21 web sshd[11758]: PAM service(sshd) ignoring max retries; 5 > 3
Jan 17 23:33:25 web sshd[11976]: pam_unix(sshd:auth): authentication failure; lo
Jan 17 23:33:27 web sshd[11976]: Failed password for root from 221.208.195.106 p
Jan 17 23:33:29 web sshd[11976]: Failed password for root from 221.208.195.106 p
lines 1079-1125/1125 (END)

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Start building today

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.