Welcome! Log In Create A New Profile

Advanced

Re: Nginx can't reload even when config is OK

Vlad K.
November 18, 2017 09:00AM
On 2017-11-18 14:21, tamer1009 wrote:
> Process: 22036 ExecReload=/bin/kill -s HUP (code=exited,
> status=1/FAILURE)

Systemd is horribly broken. I've seen this happen on when PIDFile is set
in the service file and you have RestrictSystem in some capacity.
There's a race condition in systemd that causes the pidfile not to be
created. May or may not be your solution, but in those cases removing
PIDfile from the service file (and allowing systemd to guess PID for
$MAINPID) was the solution.



--
Vlad K.
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Nginx can't reload even when config is OK

tamer1009 November 18, 2017 08:21AM

Re: Nginx can't reload even when config is OK

Vlad K. November 18, 2017 09:00AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 328
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready