ユーザ用ツール

サイト用ツール


raspberrypi:log20151101_rsyslogd-2007

rsyslogd-2007: action 'action 18' suspended が出る場合の対策

これはどうも Raspbian jessie 固有ではなく,アーキテクチャを問わず,Debian jessie 固有っぽいのですが,ログに以下の様な記録が残り続ける場合があります.

/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 ]

“'action 18' suspended” の数字は,一定ではないようです.

私は Pogoplug Series4 で Debian jessie を入れて使っていますが,こちらでは action 19 が出ています.

また,AMD64(x86_64) でも出るようで,Raspbian 固有症状ではなく,Debian jessie 固有のようです.以下に情報があります.

回避方法

rsyslog.conf の最後にある設定をコメントにします(コメントアウト).

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

どうも rsyslog で,/dev/xconsole に渡している部分があるのが原因のようです. 名前からの推測ですが,多分 xconsole で出力できるようにしているのだと思いますが,サーバ運用やヘッドレス運用では X Window System を使わない場合もあるので,/dev/xconsole へ書き込めずにエラーが出ているのだと思います.

raspberrypi/log20151101_rsyslogd-2007.txt · 最終更新: 2015-11-01 17:02 by tosihisa@netfort.gr.jp