Hi All, I'm having major issues with spamd and amavisd running at 100% CPU on my server after an upgrade to Ubuntu 9.10. I've removed and re-installed both packages, but that didn't help. The only symptom I see in the logs (which are filling up the filesystem) is: Code: from amavisd in debug mode Use of uninitialized value $fam_listen in numeric ne (!=) at /usr/share/perl5/IO/Socket/INET6.pm line 182 from spamd in /var/log/syslog Dec 13 16:15:35 inferno spamd[2805]: Use of uninitialized value $fam_listen in numeric ne (!=) at /usr/share/perl5/IO/Socket/INET6.pm line 182. Not sure what's going on here, any ideas? I even re-installed perl, too!
Ok, I got spamassin to work by telling it to use IPv4 only in the defaults file: Code: /etc/default/spamassassin # Duncan Findlay # WARNING: please read README.spamd before using. # There may be security risks. # Change to one to enable spamd ENABLED=1 # ENABLED=0 # Options # See man spamd for possible options. The -d option is automatically added. # SpamAssassin uses a preforking model, so be careful! You need to # make sure --max-children is not set to anything higher than 5, # unless you know what you're doing. OPTIONS="[B]--ipv4-only[/B] --create-prefs --max-children 5 --helper-home-dir" but still have no idea what to do about amavis since it doesn't have this option.
Looks like with Ubuntu 9.10 you have to install IPv6 support in perl. Not sure why this is the case, maybe something f'd up during the upgrade! Here's what worked for me: Code: run perl -mIO::Socket::INET6 -e '' if it returns "Can't locate IO/Socket/INET6.pm in @INC ", then you need to install the perl module. perl -MCPAN -e shell cpan[1]> install IO::Socket::INET6 Here's where I found the info: http://forums.cpanel.net/f5/spamassassin-missing-library-128705.html