K
K
krll-k2014-09-29 10:18:19
Nginx
krll-k, 2014-09-29 10:18:19

* Restarting nginx nginx [fail]. Where to watch logs?

sudo service nginx restart
 * Restarting nginx nginx                                                                      [fail]

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alex Chistyakov, 2014-09-29
@alexclear

Do it first nginx -t- this is a config test, it will show errors
. Look at the logs in /var/log/nginx/error.log, they are usually there

D
Dmitry Skogorev, 2014-09-29
@EnterSandman

usually in the
nginx syslog -c /etc/nginx/nginx.conf -t
^ check the config for errors

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question