Translated message

A translation of this page exists in English.

rsyslog は停止または再起動に 1 分 30 秒かかり、systemd によって強制終了される

Solution In Progress - Updated -

Issue

  • systemctl restart rsyslog コマンドを発行すると、コマンドが完了するまでに 1 分 30 秒かかり、ジャーナルに以下のメッセージが表示されます。

    ● rsyslog.service - System Logging Service
       Loaded: loaded (/usr/lib/systemd/system/rsyslog.service; enabled; vendor preset: enabled)
       Active: failed (Result: signal) since [...]; 5s ago
         Docs: man:rsyslogd(8)
               http://www.rsyslog.com/doc/
      Process: XXX ExecStart=/usr/sbin/rsyslogd -n $SYSLOGD_OPTIONS (code=killed, signal=KILL)
     Main PID: XXX (code=killed, signal=KILL)
    [...] systemd[1]: Stopping System Logging Service...
    [...] rsyslogd[XXX]:  [origin software="rsyslogd" swVersion="8.24.0-52.el7_8.2" x-pid="XXX" x-info="http://www.rsyslog.com"] exiting on signal 15.
    [...] systemd[1]: rsyslog.service stop-sigterm timed out. Killing.
    [...] systemd[1]: rsyslog.service: main process exited, code=killed, status=9/KILL
    [...] systemd[1]: Stopped System Logging Service.
    [...] systemd[1]: Unit rsyslog.service entered failed state.
    [...] systemd[1]: rsyslog.service failed.
    

Environment

  • Red Hat Enterprise Linux 7 以降

    • rsyslog omfwd モジュールが gtls 用に設定されている
    • rsyslog omrelp モジュールが gtls 用に設定されている
  • Red Hat Enterprise Linux 7 のみ

    • rsyslog imtcp モジュール
  • 非 RHEL リモート syslog サーバー (例: Kiwi Syslog Server) (モジュールが gtls のみに設定されている場合)

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