nginx: [error] open() "/opt/nginx_log/nginx.pid" failed

緒論

今天操作nginx出現這個錯誤,記錄一下解決方法。

正文

[root@localhost sbin]# /usr/local/nginx/sbin/nginx -c /usr/local/nginx/conf/nginx.conf

(若有什麼錯誤,請留言指正,3Q)

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章