Spamassassin が動いてない

スパムメールが増えたのかなんなのか、ウチのサーバのログが暴れだしたので、ちょこっと調べてみることにした。

host spamc[9130]: connect to spamd on 127.0.0.1 failed, retrying (#1 of 3): Connection refused
host spamc[9130]: connect to spamd on 127.0.0.1 failed, retrying (#2 of 3): Connection refused
host spamc[9130]: connect to spamd on 127.0.0.1 failed, retrying (#3 of 3): Connection refused

このようなログがけっこう前からあった。どうも Spamassassin が動いていないようだ。
リブートしてみようと思い下記のコマンドを実行

[root@host]~# /etc/init.d/spamassassin start
spamd を起動中: child process [14793] exited or timed out without signaling production of a PID file: exit 255 at /usr/bin/spamd line 2588.

なんだか調べていったら下記のページにたどり着いた。
http://www.komine.biz/modules/d3forum/index.php?topic_id=34
http://www.gossamer-threads.com/lists/spamassassin/users/151177?page=last

そこでは、

Hi
Just found the solution: Run the command ‘sa-update’
Note: Found the hint, after I tried to run spamd without ‘–daemonize’
Hope this works also for others!

と書いてあるので、下記コマンドを実行後、改めてSpamassassin を起動してみた。

[root@host]~# sa-update
[root@host]~# /etc/rc.d/init.d/spamassassin start
spamd を起動中:                                            [  OK  ]

おぉ、無事に起動した!あとはこれで様子見である。

カテゴリー: Linux, Spamassassin   パーマリンク

コメントを残す

メールアドレスが公開されることはありません。 * が付いている欄は必須項目です

*

次のHTML タグと属性が使えます: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>