I tested the PPA build for Bionic (1.14.0-0ubuntu1.3) and it does not
work:
# start nginx in background (as it hangs):
$ sudo systemctl start nginx &
# the parent PID is written to the PIDFile:
$ cat /run/nginx.pid
807
# eventually systemctl start fails and status:
$ systemctl status nginx
● nginx.service - A high performance web server and a reverse proxy server
Loaded: loaded (/lib/systemd/system/nginx.service; enabled; vendor preset:
enabled)
Drop-In: /etc/systemd/system/nginx.service.d
└─nginx-hardening.conf
Active: failed (Result: timeout) since Fri 2019-05-31 17:04:59 EDT; 3min 14s
ago
Docs: man:nginx(8)
Main PID: 710 (code=exited, status=0/SUCCESS)
May 31 17:03:29 rproxy systemd[1]: Starting A high performance web server and a
reverse proxy server...
May 31 17:03:29 rproxy systemd[1]: nginx.service: New main PID 807 does not
exist or is a zombie.
May 31 17:04:59 rproxy systemd[1]: nginx.service: Start operation timed out.
Terminating.
May 31 17:04:59 rproxy systemd[1]: nginx.service: Killing process 808 (nginx)
with signal SIGKILL.
May 31 17:04:59 rproxy systemd[1]: nginx.service: Killing process 809 (nginx)
with signal SIGKILL.
May 31 17:04:59 rproxy systemd[1]: nginx.service: Failed with result 'timeout'.
May 31 17:04:59 rproxy systemd[1]: Failed to start A high performance web
server and a reverse proxy server.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1581864
Title:
nginx.service: Failed to read PID from file /run/nginx.pid: Invalid
argument
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nginx/+bug/1581864/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs