Warning message

This translation is outdated. For the most up-to-date information, please refer to the English version.

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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.