内容へ移動
Cat Paw Software
ユーザ用ツール
ログイン
サイト用ツール
検索
ツール
文書の表示
以前のリビジョン
バックリンク
最近の変更
メディアマネージャー
サイトマップ
ログイン
>
最近の変更
メディアマネージャー
サイトマップ
トレース:
logrotate
この文書は読取専用です。文書のソースを閲覧することは可能ですが、変更はできません。もし変更したい場合は管理者に連絡してください。
====== logrotate ====== ログローテーションツール。 ===== ログローテーションの実行された日付をみる ===== Ubunut 18.04の場合 cat /var/lib/logrotate/status ===== デバッグモードで実行 ===== /usr/sbin/logrotate -d /etc/logrotate.conf /usr/sbin/logrotate -d /etc/logrotate.d/nginx ==== insecure permissions ==== 以下のようなエラーメッセージが出る場合 <code> because parent directory has insecure permissions (It's world writable or writable by group which is not "root") Set "su" directive in config file to tell logrotate which user/group should be used for rotation. </code> ローテートするディレクトリのパーミッションが775などグループに書き込み権限があると発生する。755にできない理由があればsuディレクティブでユーザとグループを指定する
logrotate.txt
· 最終更新: 2019/02/07 06:53 by
nullpon
ページ用ツール
文書の表示
以前のリビジョン
バックリンク
文書の先頭へ