Quantcast
Channel: iRedMail
Viewing all articles
Browse latest Browse all 14127

Amavisd not start

$
0
0

==== Required information ====
- iRedMail version: 0.8.7
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):  PGSQL
- Linux/BSD distribution name and version: CentOS 6.5
- Related log if you're reporting an issue:
====

I updated my server because a "bash" bug reported and when I try to start amavis, I see this error:

Starting Mail Virus Scanner (amavisd): fetch_modules: error loading required module MIME/Head.pm:
  Can't locate Mail/Header.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5) at /usr/share/perl5/MIME/Head.pm line 120.
  BEGIN failed--compilation aborted at /usr/share/perl5/MIME/Head.pm line 120.
  Compilation failed in require at /usr/sbin/amavisd line 205.
fetch_modules: error loading required module MIME/Entity.pm:
  Can't locate Mail/Internet.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5) at /usr/share/perl5/MIME/Entity.pm line 229.
  BEGIN failed--compilation aborted at /usr/share/perl5/MIME/Entity.pm line 229.
  Compilation failed in require at /usr/sbin/amavisd line 205.
fetch_modules: error loading required module MIME/Parser.pm:
  Attempt to reload MIME/Head.pm aborted.
  Compilation failed in require at /usr/share/perl5/MIME/Parser.pm line 143.
  BEGIN failed--compilation aborted at /usr/share/perl5/MIME/Parser.pm line 143.
  Compilation failed in require at /usr/sbin/amavisd line 205.
ERROR: MISSING REQUIRED BASIC MODULES:
  MIME::Head
  MIME::Entity
  MIME::Parser
  Net::Server
  Net::Server::PreFork
BEGIN failed--compilation aborted at /usr/sbin/amavisd line 246.
                                                           [FAILED]

rpm -qi perl-MIME-Tools
package perl-MIME-Tools is not installed
[root@mx01 etc]# rpm -qi perl-MIME-tools
Name        : perl-MIME-tools              Relocations: (not relocatable)
Version     : 5.427                             Vendor: CentOS
Release     : 4.el6                         Build Date: Fri 12 Nov 2010 01:39:13 PM UTC
Install Date: Fri 26 Sep 2014 01:02:14 PM UTC      Build Host: c6b6.bsys.dev.centos.org
Group       : Development/Libraries         Source RPM: perl-MIME-tools-5.427-4.el6.src.rpm
Size        : 523017                           License: GPL+ or Artistic
Signature   : RSA/8, Sun 03 Jul 2011 04:38:19 AM UTC, Key ID 0946fca2c105b9de
Packager    : CentOS BuildSystem <http://bugs.centos.org>
URL         : http://search.cpan.org/dist/MIME-tools/
Summary     : Modules for parsing and creating MIME entities in Perl
Description :
MIME-tools is a collection of Perl5 MIME:: modules for parsing, decoding, and
generating single- or multipart (even nested multipart) MIME messages.

Yes, kids, that means you can send messages with attached GIF files.

rpm -qi perl-Net-Server
Name        : perl-Net-Server              Relocations: (not relocatable)
Version     : 0.99                              Vendor: Dag Apt Repository, http://dag.wieers.com/apt/
Release     : 1.el5.rf                      Build Date: Thu 09 Sep 2010 10:55:14 PM UTC
Install Date: Fri 26 Sep 2014 01:02:15 PM UTC      Build Host: lisse.hasselt.wieers.com
Group       : Applications/CPAN             Source RPM: perl-Net-Server-0.99-1.el5.rf.src.rpm
Size        : 404000                           License: Artistic/GPL
Signature   : DSA/SHA1, Thu 09 Sep 2010 11:47:49 PM UTC, Key ID a20e52146b8d79e6
Packager    : Dag Wieers <dag@wieers.com>
URL         : http://search.cpan.org/dist/Net-Server/
Summary     : Perl module that implements an extensible, general Perl server engine
Description :
perl-Net-Server is a Perl module that implements an extensible,
general Perl server engine.

I tried to reinstall amavisd but this error persist.

Please help me to solve this issue.

Thanks

André


Viewing all articles
Browse latest Browse all 14127

Trending Articles