美文网首页nginx
nginx: [error] open() "/usr/loca

nginx: [error] open() "/usr/loca

作者: 一念飘过 | 来源:发表于2020-01-08 14:04 被阅读0次

nginx 启动报错:Nginx -s  reload;

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

解决方案:

/usr/local/nginx/sbin/nginx -c /usr/local/nginx/conf/nginx.conf

以这种方式启动,就可以了

相关文章

网友评论

    本文标题:nginx: [error] open() "/usr/loca

    本文链接:https://www.haomeiwen.com/subject/oaqsactx.html