最新下载
热门教程
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
nginx安装报错:nginx: [error] invalid PID number
时间:2022-06-30 18:21:04 编辑:袖梨 来源:一聚教程网
搞了一个美国服务器,重新弄了下nginx安装配置,重新/usr/local/nginx/sbin/nginx -s reload 提示如下报错:
[root@Kvmla-201606291067 conf]# /usr/local/nginx/sbin/nginx -s reload
nginx: [error] invalid PID number "" in "/usr/local/nginx/logs/nginx.pid"
无效的pid号。
网上搜索资料解决办法如下:
/usr/local/nginx/sbin/nginx -c /usr/local/nginx/conf/nginx.conf
重新查看nginx进程,现在是启动成功了。
[root@Kvmla-201606291067 conf]# netstat -tunlp
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 x.x.x.x:8388 0.0.0.0:* LISTEN 11148/python
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 26066/nginx
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 17709/sshd
特此记录。
相关文章
- 鸣潮2.8版本能攒多少抽 2.8版本星声数量汇总 11-19
- 境界刀鸣茶渡泰虎怎么培养 茶渡泰虎养成攻略 11-19
- 境界刀鸣斩系队角色有哪些 斩系队角色一览 11-19
- 卡厄思梦境百丽儿技能是什么 百丽儿技能效果介绍 11-19
- 境界刀鸣常驻6选1怎么选 常驻6选1选择推荐 11-19
- 洛克王国世界怎么挖宝藏 挖宝藏攻略 11-19