Topic: [SOLVED] Amavisd won't start after "yum update"
==== Provide basic information to help troubleshoot ====
- iRedMail version: 0.7.3
- Linux/BSD distribution name and version: CentOS 6
- Any related log? Log is helpful for troubleshooting.
====
Spam emails have been increasing and I thought if I did "yum update" it may help. Unfortunately, now when I try to start amavisd, I get the following:
[root@webmail postfix]# service amavisd start
Starting amavisd: fetch_modules: error loading required module Compress/Zlib.pm:
Can't locate Compress/Raw/Zlib.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/lib64/perl5/Compress/Zlib.pm line 12.
BEGIN failed--compilation aborted at /usr/lib64/perl5/Compress/Zlib.pm line 12.
Compilation failed in require at /usr/sbin/amavisd line 197.
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 197.
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 197.
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 197.
ERROR: MISSING REQUIRED BASIC MODULES:
Compress::Zlib
MIME::Head
MIME::Entity
MIME::Parser
Net::Server
Net::Server::PreFork
BEGIN failed--compilation aborted at /usr/sbin/amavisd line 237.
[FAILED]
[root@webmail postfix]#
Any advice would be appreciated.
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.