内射女校花一区二区三区,久久久老熟女一区二区三区,国产精品美女久久久网站,亚洲成AV人片在
標(biāo)題:
[求助]
為了刪除access.log,導(dǎo)致nginx重啟失敗怎么辦?
[打印本頁]
作者:
rere
時間:
2017-11-27 15:29
標(biāo)題:
為了刪除access.log,導(dǎo)致nginx重啟失敗怎么辦?
因為access.log太占空間,按交流群里網(wǎng)友的意見登錄FTP將它刪除了,但是df查看空間并沒有釋放,不知道怎么辦?
后來,根據(jù)
http://www.sdymsy.com/bbs/thread-2104-1-1.html
想要關(guān)閉日記,
因此登錄ssh,輸入
sed -i '/log_format/a
access_log off;' /www/wdlinux/nginx/conf/nginx.conf
結(jié)果重啟nginx時
變成這樣子:
[root@h75zr4Z ~]# sed -i '/log_format/a
> access_log off;' /www/wdlinux/nginx/conf/nginx.conf
[root@h75zr4Z ~]# service nginxd restart
Stopping nginx: nginx: [emerg] unknown directive "ccess_log" in /www/wdlinux/nginx-1.8.1/conf/nginx.conf:2
[ OK ]
Starting nginx: nginx: [emerg] unknown directive "ccess_log" in /www/wdlinux/nginx/conf/nginx.conf:2
[FAILED]
復(fù)制代碼
不知道要怎么辦了啊,緊急求助。
歡迎光臨 WDlinux官方論壇 (http://www.sdymsy.com/bbs/)
Powered by Discuz! 7.2