原文:nginx启动或者重启失败,报错nginx: [error] open() "/usr/local/var/run/nginx.pid" failed (2: No such file or directory)

第一种方案: . 执行命令 :open usr local etc nginx 打开nginx安装目录 nginx安装目录默认位置有: 找到适合你的 etc nginx nginx.conf, usr local etc nginx nginx.conf,或 usr local nginx conf nginx.conf .放开注释,改为:pid usr local etc nginx logs ...

2018-04-24 17:09 0 3468 推荐指数:

查看详情

 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM