More problems after upgrade to Ubuntu 9.10 - amavis and spamd 100%cpu

Discussion in 'Installation/Configuration' started by DantePasquale, Dec 13, 2009.

  1. DantePasquale

    DantePasquale HowtoForge Supporter

    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:

    from amavisd in debug mode
    Use of uninitialized value $fam_listen in numeric ne (!=) at /usr/share/perl5/IO/Socket/ 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/ line 182.
    Not sure what's going on here, any ideas? I even re-installed perl, too!
  2. DantePasquale

    DantePasquale HowtoForge Supporter

    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
    # 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.
  3. DantePasquale

    DantePasquale HowtoForge Supporter

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

Share This Page