- August 8, 2006
- Category: Server
ログローテート失敗
サーバのログを毎月ローテートさせバックアップを予定しているのだが、1日に実行されるログのローテートがうまく動いていなかったようだ。
原因は設定ファイルの記載ミス。月次処理の予定が週次処理になっていた。
/etc/logrotate.conf
# see "man logrotate" for details # rotate log files weekly monthly # keep 4 weeks worth of backlogs rotate 13 # create new (empty) log files after rotating old ones create # uncomment this if you want your log files compressed #compress # RPM packages drop log rotation information into this directory include /etc/logrotate.d
Comments
No comments found.