Home > Backend Development > PHP Tutorial > nginx: [error] invalid PID number '” in '/usr/local/var/run/nginx/nginxpid”

nginx: [error] invalid PID number '” in '/usr/local/var/run/nginx/nginxpid”

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-07-28 08:29:45
Original
1728 people have browsed it

Use brew to install Nginx on Mac, then modify the Nginx configuration file, and then the following error will appear when restarting:

<code>nginx: [<span>error</span>] invalid PID <span>number</span><span>""</span><span>in</span><span>"/usr/local/var/run/nginx/nginx.pid"</span></code>
Copy after login

Solution:

<code>$ <span>sudo</span> nginx -c /usr/local/etc/nginx/nginx.conf
$ <span>sudo</span> nginx <span>-s</span> reload</code>
Copy after login
').addClass('pre-numbering').hide(); $(this).addClass('has-numbering').parent().append($numbering); for (i = 1; i ').text(i)); }; $numbering.fadeIn(1700); }); });

The above has introduced nginx: [error] invalid PID number “” in “/usr/local/var/run/nginx/nginxpid”, including the relevant content. I hope it will be helpful to friends who are interested in PHP tutorials.

Related labels:
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Issues
Error restarting nginx
From 1970-01-01 08:00:00
0
0
0
server - Nginx configuration webapp problem
From 1970-01-01 08:00:00
0
0
0
Nginx default.conf problem
From 1970-01-01 08:00:00
0
0
0
centos7 - NGINX exception occurs
From 1970-01-01 08:00:00
0
0
0
nginx load balancing
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template