nginx: [error] invalid PID number "" in "/usr/local/nginx/logs/nginx.pid"
iwangzheng.com
tty:[0] jobs:[0] cwd:[/opt/nginx/conf]
12:45 [root@a02.cmsapi]$ /usr/local/nginx/sbin/nginx
-s reload
nginx: [error] invalid PID number "" in
"/usr/local/nginx/logs/nginx.pid"
tty:[0] jobs:[0] cwd:[/opt/nginx/conf]
12:45 [root@a02.cmsapi]$ ps -ef | grep nginx
root 646 1 0 May07 ? 00:00:00 nginx: master
process /opt/nginx/sbin/nginx -c /opt/nginx/conf/nginx.conf
www 647 646 0 May07 ? 00:00:00 nginx: worker
process
www 648 646 0 May07 ? 00:00:01 nginx: worker
process
www 650 646 0 May07 ? 00:00:00 nginx: worker
process
www 651 646 0 May07 ? 00:00:01 nginx: worker
process
www 652 646 0 May07 ? 00:00:00 nginx: worker
process
www 653 646 0 May07 ? 00:00:01 nginx: worker
process
www 655 646 0 May07 ? 00:00:01 nginx: worker
process
www 656 646 0 May07 ? 00:00:00 nginx: worker
process
root 7712 3274 0 12:45 pts/0 00:00:00 grep nginx
tty:[0] jobs:[0] cwd:[/opt/nginx/conf]
12:45 [root@a02.cmsapi]$ cat
/usr/local/nginx/logs/nginx.pid
tty:[0] jobs:[0] cwd:[/opt/nginx/conf]
12:46 [root@a02.cmsapi]$ echo 646 >
/usr/local/nginx/logs/nginx.pid
tty:[0] jobs:[0] cwd:[/opt/nginx/conf]
12:47 [root@a02.cmsapi]$ /usr/local/nginx/sbin/nginx
-s reload
-------------------------------------------------------------------------------------------------------------------------------------------
欢迎来到我的博客, 本人乃互联网行业一枚小小的螺丝钉—非典型程序员妹子.
留下微信地址,方便大家和我联系
nginx: [error] invalid PID number "" in "/usr/local/nginx/logs/nginx.pid"的更多相关文章
- nginx: [error] invalid PID number “” in “/usr/local/var/run/nginx/nginx.pid”
在Mac上用brew安装Nginx,然后修改Nginx配置文件,再重启时报出如下错误: nginx: [error] invalid PID number "" in " ...
- 解决 nginx: [error] invalid PID number "" in "/usr/local/nginx/logs/nginx.pid"
使用/usr/local/nginx/sbin/nginx -s reload 重新读取配置文件出错 [root@localhost nginx]/usr/local/nginx/sbin/nginx ...
- nginx: [error] invalid PID number "" in "/usr/local/webserver/nginx/logs/nginx.pid" (原)
进入nginx文件下,例如 :/usr/local/nginx/sbin [root@iZ25f7emo7cZ /]# cd /usr/local/nginx/sbin 运行命令: [root@iZ2 ...
- invalid PID number "" in "/usr/local/nginx/logs/nginx.pid"
解决办法: $ sudo nginx -c /usr/local/etc/nginx/nginx.conf $ sudo nginx -s reload
- nginx: [error] open() "/usr/local/var/run/nginx.pid" failed (2: No such file or directory)
nginx: [error] open() "/usr/local/var/run/nginx.pid" failed (2: No such file or directory) ...
- nginx重启报错:nginx: [error] invalid PID number "" in "/run/nginx.pid"
问题描述:执行 nginx -t 是OK的,然而在执行 nginx -s reload 的时候报错 nginx: [error] invalid PID number “” in “/run/ngin ...
- nginx: [error] invalid PID number "" in "/run/nginx.pid"
在重启云主机(系统)之后,执行 nginx -t 是OK的,然而在执行 nginx -s reload 的时候报错 nginx: [error] invalid PID number “” in “/ ...
- Centos7.5中Nginx报错:nginx: [error] invalid PID number "" in "/run/nginx.pid" 解决方法
服务器重启之后,执行 nginx -t 是OK的,然而在执行 nginx -s reload 的时候报错 nginx: [error] invalid PID number "" ...
- [nginx报错问题]reload时报错:nginx: [error] invalid PID number "" in ...
错误 第一次探索nginx,执行以下命令时: nginx -s reload 报出错误: nginx: [error] invalid PID number "" in ... * ...
随机推荐
- Servlet学习 (HttpServletRequest HttpServletResponse)
1.什么事servlet? 答:服务器端程序, 自定义的服务类型.tomcat是一个容器,这个容器提供各种菜的服务, 我们需要为里面放菜! web服务器就是我们的开发环境和开发基础. 实现了servl ...
- Java线程池应用
Executors工具类用于创建Java线程池和定时器. newFixedThreadPool:创建一个可重用固定线程数的线程池,以共享的无界队列方式来运行这些线程.在任意点,在大多数 nThread ...
- java操作word
一个使用Apache POI写word文档的实例: 1 package apache.poi; 2 3 import java.io.ByteArrayInputStream; 4 import ja ...
- LightOJ1348 树链剖分
简单题,看题目就懂. #include<queue> #include<stack> #include<cmath> #include<cstdio> ...
- Java设计模式-中介者模式(Mediator)
中介者模式也是用来降低类类之间的耦合的,因为如果类类之间有依赖关系的话,不利于功能的拓展和维护,因为只要修改一个对象,其它关联的对象都得进行修改.如果使用中介者模式,只需关心和Mediator类的关系 ...
- FastDFS在.Net平台上的使用
上一篇,了解了FastDFS是什么东东,一般稍微大一的网站都会做文件分离存储,FastDFS这轻型的分布式文件存储方式,非常有用. 此图片截取博友(张占岭)的勿喷 下面我们就了解一下,FastDFS在 ...
- Day4_计算器
read me 1.构造三个函数,乘除(mad),加减(aas),去括号(par): 2.获取表达式字符串之后,判断是否包含“+-*/()”等字符,包含则下一步3:不包含,返回字符串: 3.par 函 ...
- opencv笔记4:模板运算和常见滤波操作
time:2015年10月04日 星期日 00时00分27秒 # opencv笔记4:模板运算和常见滤波操作 这一篇主要是学习模板运算,了解各种模板运算的运算过程和分类,理论方面主要参考<图像工 ...
- this的使用
1.使用this调用本类中的属性 class Person{ private String name; private int age; public Person(String name,int a ...
- C++中使用array报错 requires compiler and library surpport for the ISO c++ 2011 standard
#error This file requires compiler and library support for the \ISO C++ 2011 standard. This support ...