You are not logged in.

#1 2021-04-10 17:18:28

SpacetimeBull
Member
Registered: 2021-02-13
Posts: 25

Nginx will not start [SOLVED]

I am trying to get nginx service to start. I literally installed it through pacman and did sudo systemctl start nginx and it said it exited with error code.

Here is the output of journalctl: "[spacetimebull@archy ~]$ journalctl -xeu nginx
░░
░░ The process' exit code is 'exited' and its exit status is 1.
Apr 10 13:14:31 archy systemd[1]: nginx.service: Failed with result 'exit-code'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/l … temd-devel
░░
░░ The unit nginx.service has entered the 'failed' state with result 'exit-code'.
Apr 10 13:14:31 archy systemd[1]: Failed to start A high performance web server and a reverse proxy server.
░░ Subject: A start job for unit nginx.service has failed
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/l … temd-devel
░░
░░ A start job for unit nginx.service has finished with a failure.
░░
░░ The job identifier is 2511 and the job result is failed."

Why will it not start?! I have nothing else running

Last edited by SpacetimeBull (2021-04-14 20:21:03)

Offline

#2 2021-04-11 02:28:06

jonno2002
Member
Registered: 2016-11-21
Posts: 684

Re: Nginx will not start [SOLVED]

have you modified any of the config files ? i just tried it in an up-to-date barebones VM and it works as expected out of the box,

Offline

#3 2021-04-11 08:11:03

seth
Member
Registered: 2012-09-03
Posts: 50,004

Re: Nginx will not start [SOLVED]

systemctl status nginx

Also check "man coredumpctl"

----------

And please never use "-x", it's spam - just look at this BS:
Actual journal:

Apr 10 13:14:31 archy systemd[1]: nginx.service: Failed with result 'exit-code'.
Apr 10 13:14:31 archy systemd[1]: Failed to start A high performance web server and a reverse proxy server.

Uselesss bullshit explanations of the above

Apr 10 13:14:31 archy systemd[1]: nginx.service: Failed with result 'exit-code'.
░░ The process' exit code is 'exited' and its exit status is 1.
Apr 10 13:14:31 archy systemd[1]: nginx.service: Failed with result 'exit-code'.
░░ Subject: Unit failed
Apr 10 13:14:31 archy systemd[1]: nginx.service: Failed with result 'exit-code'.
░░ Defined-By: systemd
Apr 10 13:14:31 archy systemd[1]: nginx.service: Failed with result 'exit-code'.
░░ Support: https://lists.freedesktop.org/mailman/l … temd-devel
Apr 10 13:14:31 archy systemd[1]: nginx.service: Failed with result 'exit-code'.
░░ The unit nginx.service has entered the 'failed' state with result 'exit-code'.

Apr 10 13:14:31 archy systemd[1]: Failed to start A high performance web server and a reverse proxy server.
░░ Subject: A start job for unit nginx.service has failed
Apr 10 13:14:31 archy systemd[1]: Failed to start A high performance web server and a reverse proxy server.
░░ Defined-By: systemd
Apr 10 13:14:31 archy systemd[1]: Failed to start A high performance web server and a reverse proxy server.
░░ Support: https://lists.freedesktop.org/mailman/l … temd-devel
Apr 10 13:14:31 archy systemd[1]: Failed to start A high performance web server and a reverse proxy server.
░░ A start job for unit nginx.service has finished with a failure.
Apr 10 13:14:31 archy systemd[1]: Failed to start A high performance web server and a reverse proxy server.
░░ The job identifier is 2511 and the job result is failed."

That reads like a breakdown of the messages for someone w/ severe brain damage…

Offline

#4 2021-04-14 19:20:27

SpacetimeBull
Member
Registered: 2021-02-13
Posts: 25

Re: Nginx will not start [SOLVED]

I had two instances of NGINX running - one from a package and one in a snap tongue. You may close this issue.

Offline

#5 2021-04-14 19:24:43

seth
Member
Registered: 2012-09-03
Posts: 50,004

Re: Nginx will not start [SOLVED]

Please mark the thread "[SOLVED]" by editing the subject of your original post.

Offline

Board footer

Powered by FluxBB