Error Loading Required Module Compress/zlib.pm
[x] Format For Printing -XML -Clone This Bug -Last Comment First Last Prev Next This bug is not in your last search results. Bug598286 - amavisd not starting due to Compress/Zlib.pm module load error Summary: amavisd not starting due to Compress/Zlib.pm module load error Status: CLOSED NOTABUG Aliases: None Product: Fedora Classification: Fedora Component: amavisd-new (Show other bugs) Sub Component: --- Version: 13 Hardware: i686 Linux Priority low Severity high TargetMilestone: --- TargetRelease: --- Assigned To: Steven Pritchard QA Contact: Fedora Extras Quality Assurance Docs Contact: URL: Whiteboard: Keywords: Depends On: Blocks: Show dependency tree /graph Reported: 2010-05-31 22:11 EDT by Shane Walters Modified: 2010-12-02 04:45 EST (History) CC List: 3 users (show) perl-devel steve vanmeeuwen+fedora See Also: Fixed In Version: Doc Type: Bug Fix Doc Text: Story Points: --- Clone Of: Environment: Last Closed: 2010-12-02 04:45:14 EST Type: --- Regression: --- Mount Type: --- Documentation: --- CRM: Verified Versions: Category: --- oVirt Team: --- RHEL 7.3 requirements from Atomic Host: Cloudforms Team: --- Attachments (Terms of Use) Add an attachment (proposed patch, testcase, etc.) Groups: None (edit) Description Shane Walters 2010-05-31 22:11:42 EDT 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 unabl
the latest ispconfig version. Also before this I updated my CentOS 5.4 OS with yum making sure that postfix is not updated. amavis is now not running. Attempting to start amavis results in the error: error loading required module Compress/Zlib.pm dualvar is only available with the XS version of Scalar::Util ... I have fixed this before but I am having a problem finding that fix. In the mean time I have disabled amavis so that I mail can be delivered. Last time I believe I fixed it by updating CPAN. This has not worked this time. Does anyone out there know of fix? korbynn, Oct 10, 2010 #1 falko Super Moderator https://bugzilla.redhat.com/show_bug.cgi?id=598286 ISPConfig Developer You can open the Perl shell and run Code: install Compress::Zlib to install the missing module. falko, Oct 11, 2010 #2 korbynn Member Compress:Zlib is up to date also Scalar::Util is up to date. I am trying to deal with the dualvar and XS version of Scalar::Util which amavis dies on. korbynn, Oct 11, 2010 #3 korbynn Member I found a fix. I am posting it here so that the https://www.howtoforge.com/community/threads/amavis-and-zlib.49351/ next time I have this problem I can find a solution here. Get a copy of Scalar::Util with XS in place: cd /tmp/ wget http://cpan.netnitco.net/authors/id/G/GB/GBARR/Scalar-List-Utils-1.22.tar.gz tar zxvf Scalar-List-Utils-1.22.tar.gz cd Scalar-List-Utils-1.22 perl Makefile.PL make test install Go into cpan and reinstall Compress::Zlib cpan cpan[1]> install Compress::Zlib Once this is done then restart amavis on CentOS 5: /etc/init.d/amavisd start If amavis does not start then there is another problem. Now I just have to go back to Postfix and enable amavis Cheers. korbynn, Oct 13, 2010 #4 (You must log in or sign up to reply here.) Show Ignored Content Share This Page Tweet Log in with Facebook Log in with Twitter Log in with Google Your name or email address: Do you already have an account? No, create an account now. Yes, my password is: Forgot your password? Stay logged in Sign up now! Forum Statistics Discussions: 53,543 Messages: 283,997 Members: 91,707 Latest Member: sfdsdfsfsdf Share This Page Tweet Howtoforge - Linux Howtos and Tutorials Home Forums > ISPConfig 3 > Installation/Configuration > English | Deutsch Tutorials Tags Forums Forums Quick Links Search Forums Recent Posts Members Members Quick Links Notable Members Current Visitors Recent Activity New Profile Posts Contribute Subscribe ISPConfig News Menu Search Search titles only Posted by Member: Separate names with a comma. Newer Than: Search this
sorted by: [ date ] [ thread ] [ subject ] [ http://lists.repoforge.org/pipermail/users/2011-July/028681.html author ] On 28/07/11 00:18, Ned Slider wrote: > On 27/07/11 19:01, Fred Kienker wrote: >> After updating to perl-IO-Compress-2.036-1.el5.rfx.noarch.rpm from http://osdir.com/ml/general/2010-06/msg00069.html >> perl-IO-Compress-2.035-1.el5.rfx.noarch.rpm the following error appears >> when staring amavisd (amavisd-new-2.6.6-1.el5.rf.i386.rpm): >> >> Starting Mail Virus Scanner (amavisd): fetch_modules: error loading >> error loading required module Compress/Zlib.pm: >> Compress::Raw::Zlib version 2.036 required--this is only version 2.035 >> at /usr/lib/perl5/vendor_perl/5.8.8/Compress/Zlib.pm line 11. >> BEGIN failed--compilation aborted at >> /usr/lib/perl5/vendor_perl/5.8.8/Compress/Zlib.pm line 11. >> Compilation failed in require at /usr/sbin/amavisd line 197. >> ERROR: MISSING REQUIRED BASIC MODULES: >> Compress::Zlib error loading required >> BEGIN failed--compilation aborted at /usr/sbin/amavisd line 237. >> [FAILED] >> >> The latest version in the repository is: >> perl-Compress-Raw-Zilb-2.035-1.el5.rf.i386.rpm >> >> If someone has time to update this rpm I'd greatly appreciate it! >> >> Best regards, >> >> Fred >> > > I think the Requires need updating in perl-IO-Compress: > > # rpm -q --requires perl-IO-Compress > perl(Compress::Raw::Bzip2)>= 2.024 > perl(Compress::Raw::Zlib)>= 2.024 > perl(Scalar::Util) > rpmlib(PayloadFilesHavePrefix)<= 4.0-1 > rpmlib(CompressedFileNames)<= 3.0.4-1 > rpmlib(VersionedDependencies)<= 3.0.3-1 > rpmlib(VersionedDependencies)<= 3.0.3-1 > > Would it make sense for the versions of perl(Compress::Raw::Bzip2) and > perl(Compress::Raw::Zlib) to match that of perl-IO-Compress? > Sorry, I should have shown: # rpm -q perl-IO-Compress perl-Compress-Raw-Bzip2 perl-Compress-Raw-Zlib perl-IO-Compress-2.035-1.el5.rfx.noarch perl-Compress-Raw-Bzip2-2.035-1.el5.rf.x86_64 perl-Compress-Raw-Zlib-2.035-1.el5.rf.x86_64 Previous message: [users] Error after updating to perl-IO-Compress-2.036 Next message: [users] Request
made in the comments box of this bug. Summary: amavisd not starting due to Compress/Zlib.pm module load error https://bugzilla.redhat.com/show_bug.cgi?id=598286 Summary: amavisd not starting due to Compress/Zlib.pm module load error Product: Fedora Version: 13 Platform: i686 OS/Version: Linux Status: NEW Severity: high Priority: low Component: amavisd-new AssignedTo: steve@xxxxxxxxx ReportedBy: wingzero2k12k3@xxxxxxxxx QAContact: extras-qa@xxxxxxxxxxxxxxxxx CC: steve@xxxxxxxxx, fedora-perl-devel-list@xxxxxxxxxx, kanarip@xxxxxxxxxxx Classification: Fedora 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: -- Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email ------- Y