ユーザ用ツール

サイト用ツール


raspberrypi:log20151101_rsyslogd-2007

差分

このページの2つのバージョン間の差分を表示します。

この比較画面にリンクする

次のリビジョン
前のリビジョン
raspberrypi:log20151101_rsyslogd-2007 [2015-11-01 16:19]
tosihisa@netfort.gr.jp 作成
raspberrypi:log20151101_rsyslogd-2007 [2015-11-01 17:02] (現在)
tosihisa@netfort.gr.jp
行 1: 行 1:
 ====== rsyslogd-2007: action 'action 18' suspended が出る場合の対策 ====== ====== rsyslogd-2007: action 'action 18' suspended が出る場合の対策 ======
  
-これはどうも Raspbian jessie ではなく,Debian jessie 固有っぽいのですが,ログに以下の様な記録が残り続ける場合があります.+これはどうも Raspbian jessie 固有ではなく,アーキテクチャを問わず,Debian jessie 固有っぽいのですが,ログに以下の様な記録が残り続ける場合があります.
  
-<file /var/log/syslog>+<file log /var/log/syslog>
 Oct 25 06:24:28 tiamat rsyslogd-2007: action 'action 18' suspended, next retry is Sun Oct 25 06:25:58 2015 [try http://www.rsyslog.com/e/2007 ] Oct 25 06:24:28 tiamat rsyslogd-2007: action 'action 18' suspended, next retry is Sun Oct 25 06:25:58 2015 [try http://www.rsyslog.com/e/2007 ]
 </file> </file>
 +
 +"'action 18' suspended" の数字は,一定ではないようです.
 +
 +私は Pogoplug Series4 で Debian jessie を入れて使っていますが,こちらでは action 19 が出ています.
 +
 +また,AMD64(x86_64) でも出るようで,Raspbian 固有症状ではなく,Debian jessie 固有のようです.以下に情報があります.
 +
 +  * https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=742113
 +  * https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=745492
 +  * https://www.raspberrypi.org/forums/viewtopic.php?f=91&t=122601
 +
 +===== 回避方法 =====
 +
 +rsyslog.conf の最後にある設定をコメントにします(コメントアウト).
 +
 +<code diff>
 +index 0e33f48..7be6c9f 100644
 +--- a/rsyslog.conf
 ++++ b/rsyslog.conf
 +@@ -115,7 +115,7 @@ news.notice                 -/var/log/news/news.notice
 + # NOTE: adjust the list below, or you'll go crazy if you have a reasonably
 + #      busy site..
 + #
 +-daemon.*;mail.*;\
 +-       news.err;\
 +-       *.=debug;*.=info;\
 +-       *.=notice;*.=warn       |/dev/xconsole
 ++#daemon.*;mail.*;\
 ++#      news.err;\
 ++#      *.=debug;*.=info;\
 ++#      *.=notice;*.=warn       |/dev/xconsole
 +</code>
 +
 +どうも rsyslog で,/dev/xconsole に渡している部分があるのが原因のようです.
 +名前からの推測ですが,多分 xconsole で出力できるようにしているのだと思いますが,サーバ運用やヘッドレス運用では X Window System を使わない場合もあるので,/dev/xconsole へ書き込めずにエラーが出ているのだと思います.
 +
  
raspberrypi/log20151101_rsyslogd-2007.1446362343.txt.gz · 最終更新: 2015-11-01 16:19 by tosihisa@netfort.gr.jp