Translated message

A translation of this page exists in English.

7.x の設定ファイルを使用すると Service rsyslog は Red Hat Enterprise Linux 6 でログを作成しない

Solution Unverified - Updated -

Issue

  • 次のエラーメッセージが /var/log/messages に表示されます。
Nov 19 14:12:38 rhel6 rsyslogd: [origin software="rsyslogd" swVersion="5.8.10" x-pid="1732" x-info="http://www.rsyslog.com"] start
Nov 19 14:12:38 rhel6 rsyslogd-2066: could not load module '/lib64/rsyslog/imjournal.so', dlopen: /lib64/rsyslog/imjournal.so: cannot open shared object file: No such file or directory
[try http://www.rsyslog.com/e/2066 ]
Nov 19 14:12:38 rhel6 rsyslogd: the last error occured in /etc/rsyslog.conf, line 10:"$ModLoad imjournal # provides access to the systemd journal"
Nov 19 14:12:38 rhel6 rsyslogd-3003: invalid or yet-unknown config file command - have you forgotten to load a module? [try http://www.rsyslog.com/e/3003 ]
Nov 19 14:12:38 rhel6 rsyslogd: the last error occured in /etc/rsyslog.conf, line 43:"$IMJournalStateFile imjournal.state"
Nov 19 14:12:38 rhel6 rsyslogd-2124: CONFIG ERROR: could not interpret master config file '/etc/rsyslog.conf'. [try http://www.rsyslog.com/e/2124 ]
  • rsyslog サービスで特定のログファイルが適切に更新されません。
  • rsyslog サービスは停止と開始を繰り返し、上記のエラーを記録します。

Environment

  • Red Hat Enterprise Linux 6

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