重启Nginx的时候报错nginx: [emerg] open() "/usr/local/nginx/logs/nginx.pid" failed (2: No such file or directory)

解决办法,在/usr/local/nginx/目录下新建logs文件夹即可

posted @ 2018-03-09 13:04  会飞的小虫子  阅读(6202)  评论(0编辑  收藏  举报