nginx: [error] invalid PID number "" in "/usr/local/Cellar/nginx/1.15.11/logs/" 报错解决办法


在检查服务器语法时发现语法是正常的,但是紧接着开始重新启动nginx服务时。 nginx -s reload 命令后出现

nginx: [error] invalid PID number "" in "/usr/local/Cellar/nginx/1.15.11/logs/"  的报错信息


$ sudo nginx -c /usr/local/etc/nginx/nginx.conf
$ sudo nginx -s reload

点赞 ( 1 )

6 条评论

  1. how to get cheap flights

    Nice post. I learn something totally new and challenging on websites I stumbleupon everyday. It will always be exciting to read content from other writers and practice something from their web sites.

  2. how to find the cheapest flights

    A fascinating discussion is worth comment. I think that you should publish more about this issue, it might not be a taboo matter but usually folks don't speak about such topics. To the next! Best wishes!!

  3. cheap airline ticket

    That is a good tip especially to those new to the blogosphere. Simple but very accurate information… Thank you for sharing this one. A must read post!

  4. how to find the cheapest flights

    My relatives all the time say that I am killing my time here at web, however I know I am getting experience all the time by reading thes nice articles.

  5. gamefly

    Great work! That is the type of information that are meant to be shared across the internet. Disgrace on the seek engines for not positioning this post upper! Come on over and seek advice from my site . Thanks =)

  6. gamefly

    Very nice post. I simply stumbled upon your weblog and wanted to say that I've truly enjoyed browsing your weblog posts. After all I will be subscribing in your rss feed and I hope you write once more soon!