nginx: [error] open() “/usr/local/var/run/nginx.pid” failed
问题:nginx启动的时候会报丢失pid的错误
nginx: [error] open() “/usr/local/var/run/nginx.pid” failed
解决方案:
sudo nginx -c /usr/local/etc/nginx/nginx.conf
sudo nginx -s reload
问题:nginx启动的时候会报丢失pid的错误
nginx: [error] open() “/usr/local/var/run/nginx.pid” failed
解决方案:
sudo nginx -c /usr/local/etc/nginx/nginx.conf
sudo nginx -s reload
3 thoughts on “nginx: [error] open() “/usr/local/var/run/nginx.pid” failed”
关注好几个月了,虽然都没怎么更新太多。 博主能求下你的网站模板吗?太犀利了。小菜鸟qq:1364093016 邮箱:[email protected] 谢谢 大恩大德! 等 新域名就等这个末班了!!!
可以!
谢谢啦