Unable to start nginx on a Plesk server: PID file /run/nginx.pid not readable (yet?) after start.

Follow

Comments

2 comments

  • Avatar
    Dimitri

    I moved my server from one VPS to another with sanpshot. Now I read same massage in the logs. Nginx eventually starts and I have no issues with it. But it happens after each restart.

    Jun 29 05:15:17 XXX systemd: PID file /run/munin/munin-node.pid not readable (yet?) after start.
    Jun 29 05:15:17 XXX nginx: nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
    Jun 29 05:15:17 XXX systemd: Started Munin Node.
    Jun 29 05:15:17 XXX nginx: nginx: configuration file /etc/nginx/nginx.conf test is successful
    Jun 29 05:15:17 XXX systemd: Failed to read PID from file /run/nginx.pid: Invalid argument

    PID is readable and /var/run is set correctly as a soft link.

    root@XXX[/]:# ls -ld /var/run
    lrwxrwxrwx. 1 root root 6 Aug 8 2017 /var/run -> ../run

     

    Any thoghts?

    Thank you!

    0
    Comment actions Permalink
  • Avatar
    Alexey Lapshin

    Hello @Dimitri

    The issue you faced is a known Ubuntu bug. Refer to this page for workaround https://bugs.launchpad.net/ubuntu/+source/nginx/+bug/1581864

    0
    Comment actions Permalink

Please sign in to leave a comment.

Have more questions? Submit a request