amavisd-new-2.8.0 (20120630)

amavis suicide !? again

Nov 18 13:38:11 mail amavis[12043]: (!!)TROUBLE in pre_loop_hook: db_init: BDB no dbN: __fop_file_setup:  Retry limit (100) exceeded, File exists. at (eval 92) line 322.
Nov 18 13:38:11 mail amavis[12043]: (!)_DIE: Suicide () TROUBLE in pre_loop_hook: db_init: BDB no dbN: __fop_file_setup:  Retry limit (100) exceeded, File exists. at (eval 92) line 322.

http://www.redpaw.co.uk/server/2011/03/amavisd-suicide-trouble.html

/var/amavis/db 以下を削除

660  13:50   /usr/local/etc/rc.d/amavisd restart
661  13:50   postfix flush

amavis suicide !?

Nov 17 09:15:03 mail amavis[17979]: Found decoder for    .exe  at /usr/local/bin/unrar; /usr/local/bin/lha; /usr/local/bin/arj
Nov 17 09:15:03 mail amavis[17979]: Using primary internal av scanner code for ClamAV-clamd
Nov 17 09:15:03 mail amavis[17979]: Found secondary av scanner ClamAV-clamscan at /usr/local/bin/clamscan
Nov 17 09:15:03 mail amavis[17979]: Deleting db files __db.001,__db.002,__db.003,__db.004 in /var/amavis/db
Nov 17 09:15:03 mail amavis[17979]: Creating db in /var/amavis/db/; BerkeleyDB 0.54, libdb 4.7
Nov 17 09:16:43 mail amavis[17979]: (!!)TROUBLE in pre_loop_hook: db_init: BDB no dbS: __fop_file_setup:  Retry limit (100) exceeded, File exists. at (eval 92) line 319.
Nov 17 09:16:43 mail amavis[17979]: (!)_DIE: Suicide () TROUBLE in pre_loop_hook: db_init: BDB no dbS: __fop_file_setup:  Retry limit (100) exceeded, File exists. at (eval 92) line 319.
root@mail:/root #

amavisd は起動するが、mailqにたまったエラーメールをフラッシュすると、プロセスが落ちる。

結局、

# rm -r /var/amavis

して、amavisd-newを再インストールする、ヨロシ。( ̄^ ̄)ゞ

http://piano2nd.smb.net/~kuji/pukiwiki-1.4.7/index.php?cmd=read&page=WARNING%20failed%20to%20start%20amavisd&word=amavisd#d23318c5

/usr/local/etc/amavisd.conf のバグ

 ['ClamAV-clamd',
#  \&ask_daemon, ["CONTSCAN {}\n", "/var/run/clamav/clamd.sock.sock"], ←そっくそっくになっちょる(ーー;)
   \&ask_daemon, ["CONTSCAN {}\n", "/var/run/clamav/clamd.sock"],

トップ   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS