解决windows下的nginx服务关不掉问题
问题描述
使用./nginx –s stop命令停止nginx,结果发现nginx服务没有停掉
再次使用./nginx –s stop命令,报错
nginx: [error] CreateFile() “D:downloadnginx-1.24.0nginx-1.24.0/logs/nginx.pid” failed (2: The system cannot find the file specified)
问题复现步骤:
问题原因
解决方法
以上命令的作用是强制终止运行中的 nginx.exe 进程及其所有子进程
声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。