View Single Post
  #1   (View Single Post)  
Old 19th February 2009
clevershark clevershark is offline
Port Guard
 
Join Date: May 2008
Posts: 11
Unhappy Amavisd-new -- is it usable?

I'm running into a frustrating problem after a recent system upgrade. Basically I went from 5.5 to 6.4 and things seem to be going pretty well except for amavisd-new. The upgrade included, among other things, moving from an old perl (5.8.6 I think) to 5.8.9. I use perl-threaded as the server is a dual-processor box.

Basically when I try and start the amavisd daemon program I get this message:

--------------------------
Starting amavisd.
fetch_modules: error loading required module Compress/Zlib.pm:
is only avaliable with the XS version at /usr/local/lib/perl5/site_perl/5.8.9/Compress/Zlib.pm line 9
BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/5.8.9/Compress/Zlib.pm line 9.
Compilation failed in require at /usr/local/sbin/amavisd line 195.
ERROR: MISSING REQUIRED BASIC MODULES:
Compress::Zlib
BEGIN failed--compilation aborted at /usr/local/sbin/amavisd line 234.
--------------------------

From what I've been able to see on the internet the real problem perl package is not compress::zlib, but scalar::util (?)

Also it was recommended that perl-after-upgrade -f be run, which I did, but in the end I got the message "Fixed 0 packages", so that didn't resolve the issue.

Any suggestions? Should I just reconfigure my web server to run without amavisd-new?

Edit: To specify, I installed both perl and amavisd-new from the current port.

Last edited by clevershark; 19th February 2009 at 05:48 AM. Reason: Added some detail
Reply With Quote