You are not logged in.

#1 2023-12-30 08:28:20

Boolan-Q
Member
Registered: 2023-12-24
Posts: 8

about nginx

1.After I entered the sudo systemctl start nginx command on archlinux, it was displayed: job for nginx.service failed because the control process exited with error code. What is going on and how to solve it?
2.After I entered the sudo systemctl status nginx command in archlinux, it showed: Unable to start the high-performance web server and reverse proxy server. How to solve this problem?

Offline

#2 2023-12-30 09:51:04

nichts
Member
Registered: 2020-11-14
Posts: 28

Re: about nginx

What is going on and how to solve it?

You have a look into the logs to figure out what the problem is and then solve it. Might also be helpful to start nginx directly, i.e. without systemctl, to get more verbose messages.


english is not my first language. If you find a mistake in this post, please mention it in your reply – this way I can learn.  TIA

Offline

#3 2023-12-30 09:56:43

schard
Forum Moderator
From: Hannover
Registered: 2016-05-06
Posts: 1,992
Website

Re: about nginx

I already asked you to provide adequate debug information to enable us to help you in your other thread and also hinted at the system journal there.
Don't be a Help Vampire!

Last edited by schard (2023-12-30 09:58:01)


macro_rules! yolo { { $($tokens:tt)* } => { unsafe { $($tokens)* } }; }

Offline

#4 2023-12-30 16:11:24

AbaddonOrmuz
Member
Registered: 2014-07-05
Posts: 43
Website

Re: about nginx

Make sure there's nothing wrong in your config files, see the troubleshooting section in the wiki:

https://wiki.archlinux.org/title/Nginx#Troubleshooting

# nginx -t

Also provide more information from journalctl as @schard suggest.

Offline

Board footer

Powered by FluxBB