HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=27)
-   -   More problems after upgrade to Ubuntu 9.10 - amavis and spamd 100%cpu (http://www.howtoforge.com/forums/showthread.php?t=41799)

DantePasquale 13th December 2009 23:21

More problems after upgrade to Ubuntu 9.10 - amavis and spamd 100%cpu
 
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!

DantePasquale 14th December 2009 01:49

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="--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.

DantePasquale 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:

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/spamassa...ry-128705.html


All times are GMT +2. The time now is 08:34.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.