原文: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