Bug 598286 - amavisd not starting due to Compress/Zlib.pm module load error
Summary: amavisd not starting due to Compress/Zlib.pm module load error
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: amavisd-new
Version: 13
Hardware: i686
OS: Linux
low
high
Target Milestone: ---
Assignee: Steven Pritchard
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-06-01 02:11 UTC by Shane Walters
Modified: 2010-12-02 09:45 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2010-12-02 09:45:14 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Shane Walters 2010-06-01 02:11:42 UTC
Description of problem:
Fails to start with error loading required module Compress/Zlib.pm

Version-Release number of selected component (if applicable):
amavisd-new-2.6.4-1.fc12.noarch
perl-Compress-Zlib-2.020-112.fc13.i686

How reproducible:
Upgrade Fedora 12 to 13 with DVD media.

Steps to Reproduce:
1. Upgrade IMAP server with amavisd-new, clamav and postfix already configured and installed from Fedora 12 to 13
2. After upgrade run yum to update packages
3. At every boot up amavisd fails to start.  Mail is picked up but unable to deliver
  
Actual results:
Boot.log
Starting amavisd: fetch_modules: error loading required module Compress/Zlib.pm:
  Can't locate Compress/Raw/Zlib.pm in @INC (@INC contains: /usr/local/lib/perl5 /usr/local/share/perl5 /usr/local/share/perl5 /usr/lib/perl5 /usr/share/perl5 /usr/share/perl5 /usr/lib/perl5 /usr/share/perl5 /usr/local/lib/perl5/site_perl/5.10.0/i386-linux-thread-multi /usr/local/lib/perl5/site_perl/5.10.0 /usr/lib/perl5/vendor_perl/5.10.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl /usr/lib/perl5/site_perl) at /usr/lib/perl5/Compress/Zlib.pm line 12.
  BEGIN failed--compilation aborted at /usr/lib/perl5/Compress/Zlib.pm line 12.
  Compilation failed in require at /usr/sbin/amavisd line 197.
ERROR: MISSING REQUIRED BASIC MODULES:
  Compress::Zlib
BEGIN failed--compilation aborted at /usr/sbin/amavisd line 237.

maillog
connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)

Expected results:
amavisd start ok
mail delivery to internal users

Additional info:

Comment 1 Shane Walters 2010-06-01 02:13:48 UTC
lines referenced for amavisd and Zlib.pm have not been altered from package default.

Comment 2 Marcela Mašláňová 2010-06-01 06:37:52 UTC
I suppose you are missing sub-package perl-Compress-Raw-Zlib. Maybe it should be in requires of amavisd.

Comment 3 Shane Walters 2010-06-01 13:47:56 UTC
perl-Compress-Raw-Zlib was present but it was the Fedora 12 version.  I guess the upgrade did not process this.  I removed it with nodeps and then installed the Fedora 13 version and that took care of this issue.  Now I get the BerkeleyDB issue which has already been reported. Thanks for the assist I should have checked that.

Comment 4 Marcela Mašláňová 2010-12-02 09:45:14 UTC
Perl for F-13 was rebuild with all modules. You had module, which wasn't rebuilt and in this case it couldn't be find.
My upgrade was working well, so I suppose it was only unhappy coincidence.


Note You need to log in before you can comment on or make changes to this bug.