yum安装nginx后报错nginx: [error] open() “/run/nginx.pid“ failed

4次阅读
没有评论

yum安装nginx后起不来

yum安装nginx后报错nginx: [error] open() “/run/nginx.pid“ failed

nginx安装完默认启动脚本在/usr/sbin
页面在/usr/share/nginx/html

执行
nginx -c /etc/nginx/nginx.conf
nginx -s reload
正文完
 0