Translated message

A translation of this page exists in English.

logrotate の実行後、named が rsyslog 経由のログを記録できなくなります

Solution Verified - Updated -

Issue

  • named のメッセージを rsyslog 経由で /var/log/named/named.log というファイルに書き出すよう設定しています。
  • syslog より出力された named.log を、/etc/logrotate/syslog でログローテーション対象にしています。
  • crond によってログローテーションが実施された後、named.log にメッセージが記録されなくなります。

Environment

  • Red Hat Enterprise Linux 6
  • bind
    • bind-chroot を導入し、chroot 化している
    • named のログを rsyslog 経由で /var/log/named/named.logというファイルに書き出すよう設定
  • logrotate
    • 上記 named.log を、ログローテーションの対象に設定

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content