Spamassassin が動いてない
2010年6月17日
スパムメールが増えたのかなんなのか、ウチのサーバのログが暴れだしたので、ちょこっと調べてみることにした。
CODE:
-
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 が動いていないようだ。
リブートしてみようと思い下記のコマンドを実行
CODE:
-
[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 を起動してみた。
CODE:
-
[root@host]~# sa-update
-
[root@host]~# /etc/rc.d/init.d/spamassassin start
-
spamd を起動中: [ OK ]
おぉ、無事に起動した!あとはこれで様子見である。
TrackBack URL :
Comments (0)

