Amavis crashing
Mark Martinec
Mark.Martinec+amavis at ijs.si
Thu Aug 4 16:25:59 CEST 2011
Darhl,
> I'm having a problem with Amavis crashing and I'm not sure where to look.
> I installed Postfix/Amavis/ClamAV based on this
> http://www.howtoforge.com/virtual-users-domains-postfix-courier-mysql-squir
> relmail-debian-lenny
>
> I can receive email no problems, but it does not seem to be sending
> anything. This has been working but is no longer and I'm not sure what
> changed. I have not made any changes to the configuration, although I do
> know that updates have been applied when they come through.
> Aug 3 19:28:31.405 mail.server.com /usr/sbin/amavisd-new[10948]: starting.
> /usr/sbin/amavisd-new at mail.server.com amavisd-new-2.6.1 (20080629),
> Unicode aware, LANG="en_US.UTF-8"
> Aug 3 19:28:31.405 mail.server.com /usr/sbin/amavisd-new[10948]: Perl
> version 5.010000
> Aug 3 19:28:32.064 mail.server.com /usr/sbin/amavisd-new[10948]: Module
> BerkeleyDB 0.34
> Aug 3 19:28:32.117 mail.server.com /usr/sbin/amavisd-new[10948]: Creating
> db in /var/lib/amavis/db/; BerkeleyDB 0.34, libdb 4.6
> Aug 3 19:30:12.275 mail.server.com /usr/sbin/amavisd-new[10948]:
> (!!)TROUBLE in pre_loop_hook: db_init: BDB no dbC: __fop_file_setup:
> Retry limit (100) exceeded, File exists. at (eval 80) line 283.
> Suicide () TROUBLE in pre_loop_hook: db_init: BDB no dbC: __fop_file_setup:
> Retry limit (100) exceeded, File exists. at (eval 80) line 283.
So this isn't a crash, but a voluntary exit after an unrecoverable error.
Perhaps the BerkeleyDB perl module hasn't been reinstalled after
a libdb (berkeley db) or a Perl upgrade?
Also, stop amavisd, delete all database files (if any) in /var/lib/amavis/db/
and restart.
Mark
More information about the amavis-users
mailing list