||13th December 2009 23:21
More problems after upgrade to Ubuntu 9.10 - amavis and spamd 100%cpu
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:
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: 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!
||14th December 2009 01:49
Ok, I got spamassin to work by telling it to use IPv4 only in the defaults file:
# Duncan Findlay
# WARNING: please read README.spamd before using.
# There may be security risks.
# Change to one to enable spamd
# 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="--ipv4-only --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.
||14th December 2009 02:01
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:
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> install IO::Socket::INET6
Here's where I found the info: http://forums.cpanel.net/f5/spamassa...ry-128705.html
|All times are GMT +2. The time now is 05:22.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.