在命令行start nginx开启服务器时闪退,经查询知可能时端口占用,但nginx -s stop关闭时报nginx: [error] CreateFile() "nginx安装目录下/logs/nginx.pid" failed (2: The system cannot find the file specified)错误,感谢大佬们指点。
在命令行start nginx开启服务器时闪退,经查询知可能时端口占用,但nginx -s stop关闭时报nginx: [error] CreateFile() "nginx安装目录下/logs/nginx.pid" failed (2: The system cannot find the file specified)错误,感谢大佬们指点。
2 回答1k 阅读
1 回答776 阅读✓ 已解决
1 回答648 阅读
680 阅读
441 阅读
不是放在c盘下了吧,或者放在了没有权限的目录。win10的目录权限很讨厌。