原文:nginx: [error] open() "/usr/local/var/run/nginx.pid" failed (2: No such file or directory)

启动Nginx出现这个错误: nginx: error open usr local var run nginx.pid failed : No such file or directory 解决方法:找到你的nginx.conf的文件夹目录,然后运行这个 nginx c usr local etc nginx nginx.conf命令, 再运行 sudo nginx s reload,就可以了, ...

2019-08-03 14:43 0 407 推荐指数:

查看详情

nginx: [error] open() “/usr/local/nginx/logs/nginx.pidfailed (2: No such file or directory)

一个不会服务器的后端不是一个好前端 今天运维的同事把服务器密码给改了,说是为了安全,定期改密码,啊呸~这个密码好几年没改过了,主要这里面有太多的服务了,改完了好多地方得改,好麻烦 运维说把机器重启了,然后nginx服务关了,需要重启 首先重启命令(两条命令哈) 然后报错 ...

Fri Nov 12 23:25:00 CST 2021 0 972
 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM