Welcome! Log In Create A New Profile

Advanced

Re: systemd nginx service unable to start nginx 1.11.10

Vincent Li
May 28, 2019 08:02PM
On Tue, May 28, 2019 at 4:45 PM Maxim Dounin <mdounin@mdounin.ru> wrote:

> By default, nginx uses /usr/local/nginx/logs/nginx.pid as a PID
> file path, see "--pid-path=" here:
>
> http://nginx.org/en/docs/configure.html
>
> Unless you've redefined it during compilation, or set in nginx
> configuration, or changed systemd service file appropriately,
> the result:
>
> > May 28 15:36:47 controller-dell710 systemd[1]: nginx.service: PID file
> > /run/nginx.pid not readable (yet?) after start: No such file or
> > directory
>
> is expected, as your nginx configuration does not match your
> systemd service file.

thank you! change PIDFile fixed it

[Service]

PIDFile=/usr/local/nginx/logs/nginx.pid
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

systemd nginx service unable to start nginx 1.11.10

Vincent Li May 28, 2019 06:42PM

Re: systemd nginx service unable to start nginx 1.11.10

Maxim Dounin May 28, 2019 07:46PM

Re: systemd nginx service unable to start nginx 1.11.10

Vincent Li May 28, 2019 08:02PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 175
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