#author("2022-02-08T08:29:43+09:00","default:kuji","kuji")
#author("2022-02-08T08:30:00+09:00","default:kuji","kuji")
#contents


*20220207: [#x09b3c91]
  AFFECTS: users of security/amavisd-new
  AUTHOR: flo@FreeBSD.org

 
  Amavis does now depend on archivers/7-zip (7zz) you might need to update
  your amavisd.conf and replace all ocurances of p7zip (7zr) accordingly.


 20220207:
   影響:セキュリティ/ amavisdのユーザー-新規
   著者:flo@FreeBSD.org

 
   Amavisは、更新が必要になる可能性のあるアーカイバ/ 7-zip(7zz)に依存するようになりました。
   amavisd.confを作成し、それに応じてp7zip(7zr)のすべてのオカレンスを置き換えます。

*(!!)TROUBLE in pre_loop_hook [#p84ddf33]
 Apr 19 10:04:43 sun1 amavis[4719]: (!!)TROUBLE in pre_loop_hook: config: no rules were found!  Do you need to run 'sa-update'?
 Apr 19 10:04:43 sun1 amavis[4719]: (!)_DIE: Suicide () TROUBLE in pre_loop_hook: config: no rules were found!  Do you need to run 'sa-update'?

と出で、amavisd のプロセス

 5175 clamav        1  20    0   163M   155M select  0   0:02   0.00% /usr/local/sbin/amavisd (master) (perl)

が出てこない。コンソールログにあるとおり、

 sa-update

を数回すると、amavisのマスタープロセスが動いた。


*amavisd-new-2.8.0 (20120630) [#a609c478]

**amavis suicide !? again [#w3138713]

 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 !? [#h910fcb8]

 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 のバグ [#b78193f0]
  ['ClamAV-clamd',
 #  \&ask_daemon, ["CONTSCAN {}\n", "/var/run/clamav/clamd.sock.sock"], ←そっくそっくになっちょる(ーー;)
    \&ask_daemon, ["CONTSCAN {}\n", "/var/run/clamav/clamd.sock"],

トップ   編集 差分 履歴 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS