Amavis crashing

Darhl Thomason darhlt at gmail.com
Thu Aug 4 05:22:55 CEST 2011


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-squirrelmail-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.

After googling for a bit, I ran /etc/init.d/amavis debug and the result is:

mail.server.com:/# /etc/init.d/amavis debug
Trying to run amavisd-new in debug mode...
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]: user=,
EUID: 114 (114);  group=, EGID: 119 119 (119 119)
Aug  3 19:28:31.405 mail.server.com /usr/sbin/amavisd-new[10948]: Perl
version               5.010000
Aug  3 19:28:32.018 mail.server.com /usr/sbin/amavisd-new[10948]: INFO: SA
version: 3.2.5, 3.002005, no optional modules: Net::CIDR::Lite
Mail::SpamAssassin::BayesStore::PgSQL Encode::Detect
Mail::SpamAssassin::Plugin::DKIM IP::Country::Fast Mail::DKIM
Mail::DKIM::Verifier Image::Info Image::Info::GIF Image::Info::JPEG
Image::Info::PNG Image::Info::TIFF Mail::SPF::Query Crypt::OpenSSL::RSA
auto::Crypt::OpenSSL::RSA::new_public_key
auto::Crypt::OpenSSL::RSA::new_key_from_parameters
auto::Crypt::OpenSSL::RSA::get_key_parameters
auto::Crypt::OpenSSL::RSA::import_random_seed
Aug  3 19:28:32.019 mail.server.com /usr/sbin/amavisd-new[10948]:
SpamControl: init_pre_chroot on SpamAssassin done
Pid_file "/var/run/amavis/amavisd.pid" already exists.  Overwriting!
Aug  3 19:28:32.021 mail.server.com /usr/sbin/amavisd-new[10948]:
Net::Server: 2011/08/03-19:28:32 Amavis (type Net::Server::PreForkSimple)
starting! pid(10948)
Aug  3 19:28:32.028 mail.server.com /usr/sbin/amavisd-new[10948]:
Net::Server: Binding to UNIX socket file /var/lib/amavis/amavisd.sock using
SOCK_STREAM
Aug  3 19:28:32.029 mail.server.com /usr/sbin/amavisd-new[10948]:
Net::Server: Binding to TCP port 10024 on host 127.0.0.1
Aug  3 19:28:32.030 mail.server.com /usr/sbin/amavisd-new[10948]:
Net::Server: Group Not Defined.  Defaulting to EGID '119 119'
Aug  3 19:28:32.030 mail.server.com /usr/sbin/amavisd-new[10948]:
Net::Server: User Not Defined.  Defaulting to EUID '114'
Aug  3 19:28:32.031 mail.server.com /usr/sbin/amavisd-new[10948]:
Net::Server: Setting up serialization via flock
Aug  3 19:28:32.033 mail.server.com /usr/sbin/amavisd-new[10948]:
after_chroot_init: EUID: 114 (114);  EGID: 119 119 (119 119)
Aug  3 19:28:32.033 mail.server.com /usr/sbin/amavisd-new[10948]: config
files read: /usr/share/amavis/conf.d/10-debian_scripts,
/usr/share/amavis/conf.d/20-package, /etc/amavis/conf.d/01-debian,
/etc/amavis/conf.d/05-domain_id, /etc/amavis/conf.d/05-node_id,
/etc/amavis/conf.d/15-av_scanners,
/etc/amavis/conf.d/15-content_filter_mode,
/etc/amavis/conf.d/20-debian_defaults, /etc/amavis/conf.d/25-amavis_helpers,
/etc/amavis/conf.d/30-template_localization, /etc/amavis/conf.d/50-user
Aug  3 19:28:32.063 mail.server.com /usr/sbin/amavisd-new[10948]: Module
Amavis::Conf        2.103
Aug  3 19:28:32.064 mail.server.com /usr/sbin/amavisd-new[10948]: Module
Archive::Zip        1.18
Aug  3 19:28:32.064 mail.server.com /usr/sbin/amavisd-new[10948]: Module
BerkeleyDB          0.34
Aug  3 19:28:32.065 mail.server.com /usr/sbin/amavisd-new[10948]: Module
Compress::Zlib      2.012
Aug  3 19:28:32.065 mail.server.com /usr/sbin/amavisd-new[10948]: Module
Convert::TNEF       0.17
Aug  3 19:28:32.065 mail.server.com /usr/sbin/amavisd-new[10948]: Module
Convert::UUlib      1.11
Aug  3 19:28:32.066 mail.server.com /usr/sbin/amavisd-new[10948]: Module
DBD::mysql          4.007
Aug  3 19:28:32.066 mail.server.com /usr/sbin/amavisd-new[10948]: Module
DBI                 1.605
Aug  3 19:28:32.066 mail.server.com /usr/sbin/amavisd-new[10948]: Module
DB_File             1.816_1
Aug  3 19:28:32.067 mail.server.com /usr/sbin/amavisd-new[10948]: Module
Digest::MD5         2.36_01
Aug  3 19:28:32.067 mail.server.com /usr/sbin/amavisd-new[10948]: Module
Digest::SHA         5.45
Aug  3 19:28:32.067 mail.server.com /usr/sbin/amavisd-new[10948]: Module
Digest::SHA1        2.11
Aug  3 19:28:32.068 mail.server.com /usr/sbin/amavisd-new[10948]: Module
IO::Socket::INET6   2.54
Aug  3 19:28:32.069 mail.server.com /usr/sbin/amavisd-new[10948]: Module
MIME::Entity        5.427
Aug  3 19:28:32.070 mail.server.com /usr/sbin/amavisd-new[10948]: Module
MIME::Parser        5.427
Aug  3 19:28:32.070 mail.server.com /usr/sbin/amavisd-new[10948]: Module
MIME::Tools         5.427
Aug  3 19:28:32.070 mail.server.com /usr/sbin/amavisd-new[10948]: Module
Mail::Header        2.03
Aug  3 19:28:32.071 mail.server.com /usr/sbin/amavisd-new[10948]: Module
Mail::Internet      2.03
Aug  3 19:28:32.071 mail.server.com /usr/sbin/amavisd-new[10948]: Module
Mail::SPF           v2.005
Aug  3 19:28:32.072 mail.server.com /usr/sbin/amavisd-new[10948]: Module
Mail::SpamAssassin  3.002005
Aug  3 19:28:32.073 mail.server.com /usr/sbin/amavisd-new[10948]: Module
Net::DNS            0.63
Aug  3 19:28:32.073 mail.server.com /usr/sbin/amavisd-new[10948]: Module
Net::Server         0.97
Aug  3 19:28:32.074 mail.server.com /usr/sbin/amavisd-new[10948]: Module
NetAddr::IP         4.007
Aug  3 19:28:32.074 mail.server.com /usr/sbin/amavisd-new[10948]: Module
Razor2::Client::Version 2.84
Aug  3 19:28:32.075 mail.server.com /usr/sbin/amavisd-new[10948]: Module
Socket6             0.20
Aug  3 19:28:32.075 mail.server.com /usr/sbin/amavisd-new[10948]: Module
Time::HiRes         1.9711
Aug  3 19:28:32.076 mail.server.com /usr/sbin/amavisd-new[10948]: Module
URI                 1.35
Aug  3 19:28:32.076 mail.server.com /usr/sbin/amavisd-new[10948]: Module
Unix::Syslog        1.1
Aug  3 19:28:32.077 mail.server.com /usr/sbin/amavisd-new[10948]: Amavis::DB
code      loaded
Aug  3 19:28:32.077 mail.server.com /usr/sbin/amavisd-new[10948]:
Amavis::Cache code   loaded
Aug  3 19:28:32.077 mail.server.com /usr/sbin/amavisd-new[10948]: SQL base
code        NOT loaded
Aug  3 19:28:32.078 mail.server.com /usr/sbin/amavisd-new[10948]: SQL::Log
code        NOT loaded
Aug  3 19:28:32.078 mail.server.com /usr/sbin/amavisd-new[10948]:
SQL::Quarantine      NOT loaded
Aug  3 19:28:32.078 mail.server.com /usr/sbin/amavisd-new[10948]:
Lookup::SQL code     NOT loaded
Aug  3 19:28:32.078 mail.server.com /usr/sbin/amavisd-new[10948]:
Lookup::LDAP code    NOT loaded
Aug  3 19:28:32.079 mail.server.com /usr/sbin/amavisd-new[10948]: AM.PDP-in
proto code loaded
Aug  3 19:28:32.079 mail.server.com /usr/sbin/amavisd-new[10948]: SMTP-in
proto code   loaded
Aug  3 19:28:32.079 mail.server.com /usr/sbin/amavisd-new[10948]: Courier
proto code   NOT loaded
Aug  3 19:28:32.080 mail.server.com /usr/sbin/amavisd-new[10948]: SMTP-out
proto code  loaded
Aug  3 19:28:32.080 mail.server.com /usr/sbin/amavisd-new[10948]: Pipe-out
proto code  NOT loaded
Aug  3 19:28:32.081 mail.server.com /usr/sbin/amavisd-new[10948]: BSMTP-out
proto code NOT loaded
Aug  3 19:28:32.081 mail.server.com /usr/sbin/amavisd-new[10948]: Local-out
proto code loaded
Aug  3 19:28:32.081 mail.server.com /usr/sbin/amavisd-new[10948]:
OS_Fingerprint code  NOT loaded
Aug  3 19:28:32.082 mail.server.com /usr/sbin/amavisd-new[10948]: ANTI-VIRUS
code      loaded
Aug  3 19:28:32.082 mail.server.com /usr/sbin/amavisd-new[10948]: ANTI-SPAM
code       loaded
Aug  3 19:28:32.083 mail.server.com /usr/sbin/amavisd-new[10948]:
ANTI-SPAM-SA code    loaded
Aug  3 19:28:32.083 mail.server.com /usr/sbin/amavisd-new[10948]: Unpackers
code       loaded
Aug  3 19:28:32.083 mail.server.com /usr/sbin/amavisd-new[10948]: DKIM
code            NOT loaded
Aug  3 19:28:32.083 mail.server.com /usr/sbin/amavisd-new[10948]: Tools
code           NOT loaded
Aug  3 19:28:32.084 mail.server.com /usr/sbin/amavisd-new[10948]: Found
$file            at /usr/bin/file
Aug  3 19:28:32.084 mail.server.com /usr/sbin/amavisd-new[10948]: No
$dspam,             not using it
Aug  3 19:28:32.085 mail.server.com /usr/sbin/amavisd-new[10948]: No
$altermime,         not using it
Aug  3 19:28:32.085 mail.server.com /usr/sbin/amavisd-new[10948]: Internal
decoder for .mail
Aug  3 19:28:32.085 mail.server.com /usr/sbin/amavisd-new[10948]: No decoder
for       .F
Aug  3 19:28:32.085 mail.server.com /usr/sbin/amavisd-new[10948]: Found
decoder for    .Z    at /bin/uncompress
Aug  3 19:28:32.085 mail.server.com /usr/sbin/amavisd-new[10948]: Internal
decoder for .gz
Aug  3 19:28:32.085 mail.server.com /usr/sbin/amavisd-new[10948]: Found
decoder for    .gz   at /bin/gzip -d (backup, not used)
Aug  3 19:28:32.086 mail.server.com /usr/sbin/amavisd-new[10948]: Found
decoder for    .bz2  at /bin/bzip2 -d
Aug  3 19:28:32.086 mail.server.com /usr/sbin/amavisd-new[10948]: Found
decoder for    .lzo  at /usr/bin/lzop -d
Aug  3 19:28:32.086 mail.server.com /usr/sbin/amavisd-new[10948]: Found
decoder for    .rpm  at /usr/bin/rpm2cpio
Aug  3 19:28:32.086 mail.server.com /usr/sbin/amavisd-new[10948]: Found
decoder for    .cpio at /usr/bin/pax
Aug  3 19:28:32.087 mail.server.com /usr/sbin/amavisd-new[10948]: Found
decoder for    .cpio at /bin/cpio (backup, not used)
Aug  3 19:28:32.087 mail.server.com /usr/sbin/amavisd-new[10948]: Found
decoder for    .tar  at /usr/bin/pax
Aug  3 19:28:32.087 mail.server.com /usr/sbin/amavisd-new[10948]: Found
decoder for    .tar  at /bin/cpio (backup, not used)
Aug  3 19:28:32.087 mail.server.com /usr/sbin/amavisd-new[10948]: Found
decoder for    .deb  at /usr/bin/ar
Aug  3 19:28:32.087 mail.server.com /usr/sbin/amavisd-new[10948]: Internal
decoder for .zip
Aug  3 19:28:32.088 mail.server.com /usr/sbin/amavisd-new[10948]: No decoder
for       .7z   tried: 7zr, 7za, 7z
Aug  3 19:28:32.088 mail.server.com /usr/sbin/amavisd-new[10948]: No decoder
for       .rar
Aug  3 19:28:32.088 mail.server.com /usr/sbin/amavisd-new[10948]: No decoder
for       .arj  tried: arj, unarj
Aug  3 19:28:32.089 mail.server.com /usr/sbin/amavisd-new[10948]: Found
decoder for    .arc  at /usr/bin/nomarch
Aug  3 19:28:32.089 mail.server.com /usr/sbin/amavisd-new[10948]: Found
decoder for    .zoo  at /usr/bin/zoo
Aug  3 19:28:32.089 mail.server.com /usr/sbin/amavisd-new[10948]: No decoder
for       .lha
Aug  3 19:28:32.090 mail.server.com /usr/sbin/amavisd-new[10948]: No decoder
for       .doc  tried: ripole
Aug  3 19:28:32.090 mail.server.com /usr/sbin/amavisd-new[10948]: No decoder
for       .cab  tried: cabextract
Aug  3 19:28:32.090 mail.server.com /usr/sbin/amavisd-new[10948]: No decoder
for       .tnef
Aug  3 19:28:32.090 mail.server.com /usr/sbin/amavisd-new[10948]: Internal
decoder for .tnef
Aug  3 19:28:32.090 mail.server.com /usr/sbin/amavisd-new[10948]: No decoder
for       .exe  tried: arj, unarj
Aug  3 19:28:32.091 mail.server.com /usr/sbin/amavisd-new[10948]: Using
primary internal av scanner code for ClamAV-clamd
Aug  3 19:28:32.091 mail.server.com /usr/sbin/amavisd-new[10948]: No primary
av scanner: KasperskyLab AVP - aveclient
Aug  3 19:28:32.091 mail.server.com /usr/sbin/amavisd-new[10948]: No primary
av scanner: KasperskyLab AntiViral Toolkit Pro (AVP)
Aug  3 19:28:32.092 mail.server.com /usr/sbin/amavisd-new[10948]: No primary
av scanner: KasperskyLab AVPDaemonClient
Aug  3 19:28:32.092 mail.server.com /usr/sbin/amavisd-new[10948]: No primary
av scanner: H+BEDV AntiVir or CentralCommand Vexira Antivirus
Aug  3 19:28:32.093 mail.server.com /usr/sbin/amavisd-new[10948]: No primary
av scanner: Command AntiVirus for Linux
Aug  3 19:28:32.103 mail.server.com /usr/sbin/amavisd-new[10948]: No primary
av scanner: Symantec CarrierScan via Symantec CommandLineScanner
Aug  3 19:28:32.104 mail.server.com /usr/sbin/amavisd-new[10948]: No primary
av scanner: Symantec AntiVirus Scan Engine
Aug  3 19:28:32.104 mail.server.com /usr/sbin/amavisd-new[10948]: No primary
av scanner: F-Secure Antivirus
Aug  3 19:28:32.104 mail.server.com /usr/sbin/amavisd-new[10948]: No primary
av scanner: CAI InoculateIT
Aug  3 19:28:32.105 mail.server.com /usr/sbin/amavisd-new[10948]: No primary
av scanner: CAI eTrust Antivirus
Aug  3 19:28:32.105 mail.server.com /usr/sbin/amavisd-new[10948]: No primary
av scanner: MkS_Vir for Linux (beta)
Aug  3 19:28:32.106 mail.server.com /usr/sbin/amavisd-new[10948]: No primary
av scanner: MkS_Vir daemon
Aug  3 19:28:32.106 mail.server.com /usr/sbin/amavisd-new[10948]: No primary
av scanner: ESET Software NOD32 Command Line Interface v 2.51
Aug  3 19:28:32.106 mail.server.com /usr/sbin/amavisd-new[10948]: No primary
av scanner: Norman Virus Control v5 / Linux
Aug  3 19:28:32.107 mail.server.com /usr/sbin/amavisd-new[10948]: No primary
av scanner: Panda Antivirus for Linux
Aug  3 19:28:32.107 mail.server.com /usr/sbin/amavisd-new[10948]: No primary
av scanner: NAI McAfee AntiVirus (uvscan)
Aug  3 19:28:32.107 mail.server.com /usr/sbin/amavisd-new[10948]: No primary
av scanner: VirusBuster
Aug  3 19:28:32.107 mail.server.com /usr/sbin/amavisd-new[10948]: No primary
av scanner: CyberSoft VFind
Aug  3 19:28:32.108 mail.server.com /usr/sbin/amavisd-new[10948]: No primary
av scanner: avast! Antivirus
Aug  3 19:28:32.108 mail.server.com /usr/sbin/amavisd-new[10948]: No primary
av scanner: Ikarus AntiVirus for Linux
Aug  3 19:28:32.108 mail.server.com /usr/sbin/amavisd-new[10948]: No primary
av scanner: BitDefender
Aug  3 19:28:32.108 mail.server.com /usr/sbin/amavisd-new[10948]: Using
primary internal av scanner code for check-jpeg
Aug  3 19:28:32.109 mail.server.com /usr/sbin/amavisd-new[10948]: Found
secondary av scanner ClamAV-clamscan at /usr/bin/clamscan
Aug  3 19:28:32.109 mail.server.com /usr/sbin/amavisd-new[10948]: No
secondary av scanner: FRISK F-Prot Antivirus
Aug  3 19:28:32.109 mail.server.com /usr/sbin/amavisd-new[10948]: No
secondary av scanner: Trend Micro FileScanner
Aug  3 19:28:32.109 mail.server.com /usr/sbin/amavisd-new[10948]: No
secondary av scanner: drweb - DrWeb Antivirus
Aug  3 19:28:32.110 mail.server.com /usr/sbin/amavisd-new[10948]: No
secondary av scanner: KasperskyLab kavscanner
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.

Thanks for any help or suggestions!

Darhl
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.amavis.org/pipermail/amavis-users/attachments/20110803/2bb75268/attachment.html>


More information about the amavis-users mailing list