1、nginx: [error] CreateFile() "I:\nginx-1.17.10/logs/nginx.pid" failed (2: The system cannot find the file specified)

原因:

  1. logs/nginx.pid不存在
  2. 若执行>nginx -s stop命令时报这个错,除第一种原因,还可能因为nginx未启动

解决:nginx -c conf/nginx.conf

在目录下执行,会自动生成nginx.pid文件

 

2、 nginx明明关闭了却还能访问(占用端口)

https://www.cnblogs.com/wbl001/p/11674528.html

Logo

昇腾计算产业是基于昇腾系列(HUAWEI Ascend)处理器和基础软件构建的全栈 AI计算基础设施、行业应用及服务,https://devpress.csdn.net/organization/setting/general/146749包括昇腾系列处理器、系列硬件、CANN、AI计算框架、应用使能、开发工具链、管理运维工具、行业应用及服务等全产业链

更多推荐