Translated message

A translation of this page exists in English.

RHEL7: rsyslogd のログが /var/log/{messages,cron,maillog,secure,spooler} に記録されない

Solution Verified - Updated -

Issue

  • rsyslogd のログが以下に記録されません。

    /var/log/cron
    /var/log/maillog
    /var/log/messages
    /var/log/secure
    /var/log/spooler
    
  • journalctl -u rsyslog または systemctl status rsyslog -l は以下の問題の 1 つを報告します。

    ... rsyslogd[644]: fopen() failed: 'Too many open files', path: '/var/lib/rsyslog/imjournal.state.tmp'  [v8.24.0 try http://www.rsyslog.com/e/2013 ]
    ... rsyslogd[644]: action 'action 6' resumed (module 'builtin:omfile') [v8.24.0 try http://www.rsyslog.com/e/2359 ]
    ... rsyslogd[644]: action 'action 6' suspended, next retry is Wed Jan 31 09:23:42 2018 [v8.24.0 try http://www.rsyslog.com/e/2007 ]
    

Environment

  • Red Hat Enterprise Linux (RHEL) 7
  • rsyslogd
  • systemd

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