amavisd fails to start

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
Post Reply
tyler.montney
Posts: 4
Joined: Sat Mar 27, 2021 8:06 pm

amavisd fails to start

Post by tyler.montney »

I can only assume this started after an upgrade. Current version is 8.8.15_GA_4018, running on Ubuntu 18.04.

Code: Select all

sudo -u zimbra /opt/zimbra/bin/zmamavisdctl start
Starting amavisd-mc...done.
Starting amavisd...ERROR: MISSING REQUIRED BASIC MODULES:
  Unix::Syslog
  MIME::Words
  MIME::Head
  MIME::Body
  MIME::Entity
  MIME::Parser
  MIME::Decoder
  MIME::Decoder::Base64
  MIME::Decoder::Binary
  MIME::Decoder::QuotedPrint
  MIME::Decoder::NBit
  MIME::Decoder::UU
  MIME::Decoder::Gzip64
  Net::LibIDN
  Net::Server
  Net::Server::PreFork
BEGIN failed--compilation aborted at /opt/zimbra/common/sbin/amavisd line 251.
failed.
How do I install the missing modules?
tyler.montney
Posts: 4
Joined: Sat Mar 27, 2021 8:06 pm

Re: amavisd fails to start

Post by tyler.montney »

I ran

Code: Select all

perl -MCPAN -e shell
and started installing modules (like install MIME::Words). Some modules would automatically install dependencies.

I then got stuck on Net::LibIDN. It said it failed due to GNU LibIDN not being installed, but could find no package name to install that by.

Code: Select all

apt-get install libnet-libidn-perl
fixed that.

Next, a different error (same concept) that ZMQ::LibZMQ3 was not available. zimbra-perl-zmq-libzmq3 is installed, but no change.
hexmode
Posts: 8
Joined: Fri Sep 12, 2014 11:16 pm

Re: amavisd fails to start

Post by hexmode »

tyler.montney wrote:Next, a different error (same concept) that ZMQ::LibZMQ3 was not available. zimbra-perl-zmq-libzmq3 is installed, but no change.
I ran into this and managed to fix it with

Code: Select all

sudo -u zimbra /opt/zimbra/bin/zmlocalconfig -e PERL5LIB=/opt/zimbra/common/lib/perl5
Post Reply