C
C
cicwak2020-11-20 13:13:43
Nginx
cicwak, 2020-11-20 13:13:43

An error occurs when restarting nginx, who knows what's wrong?

Hello, good afternoon, I tried to set up nginx on a virtual server, I tried, but I couldn’t, I looked for similar errors, but I didn’t find it.
When restarting, it gives an error:
(venv) [email protected]:~/DB_PDD$ 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.
Thanks in advance.

5fb7963ae1303283909020.png
5fb79640c38d9396299913.png

Answer the question

In order to leave comments, you need to log in

3 answer(s)
D
dooMoob, 2020-11-20
@cicwak

See "systemctl status nginx.service" and "journalctl -xe" for details.

It would be nice to look here first, and then go ask questions

K
ky0, 2020-11-20
@ky0

nginx -t

K
korsar182, 2020-11-20
@korsar182

You already have another service on port 8000.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question