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
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を再インストールする、ヨロシ。( ̄^ ̄)ゞ
['ClamAV-clamd', # \&ask_daemon, ["CONTSCAN {}\n", "/var/run/clamav/clamd.sock.sock"], ←そっくそっくになっちょる(ーー;) \&ask_daemon, ["CONTSCAN {}\n", "/var/run/clamav/clamd.sock"],