Problem installing SpamAssassin 3.0.1

Steve Swaney Steve.Swaney at FSL.COM
Mon Oct 25 23:44:20 IST 2004


> -----Original Message-----
> From: MailScanner mailing list [mailto:MAILSCANNER at JISCMAIL.AC.UK] On
> Behalf Of Steve Freegard
> Sent: Monday, October 25, 2004 5:16 AM
> To: MAILSCANNER at JISCMAIL.AC.UK
> Subject: Re: Problem installing SpamAssassin 3.0.1
>
> Hi Hendrik,
>
> Hendrik den Hartog wrote:
> > I'm currently tring to install spamassassin 3.0.1. All proceeds fine
> until
> > make test, where it hangs on this test..
> >
> >  t/bayesdbm..................ok 37/44
> >
> > How, what etc do I need to do to sort this?
> >
> > Any/all advice appreciated,
> > Cheers!
> > Hendrik
> >
>
> See http://wiki.apache.org/spamassassin/DbFileSleepBug - and see if this
>   is affecting you.
>
> Kind regards,
> Steve.
>
Form the link Steve refers to above:

"As discussed in http://bugzilla.spamassassin.org/show_bug.cgi?id=3048 ,
libdb version 4.1.25, at least, seems to have a bug that will cause it to
sleep for 1 second under heavy load.

Upgrading to libdb 4.2.52 seemed to make this delay go away."

I've been able to fix this problem on our test boxes. Note that these
instructions are ONLY applicable to Redhat 3.0 (and probably) all Red Hat
"clone" operating systems. I've tested on Red Hat, WhiteBox and Tao Linux
systems. If your using a different operating system the steps will probably
be similar but the commands may differ.

Thanks to Steve Freegard for the location of the rpms:

To implement this fix:

From:
        http://projects.standblue.net/rpms/subversion/1.0.2/rhes3.0/db4/

Download:

        db4-4.2.52-2.i386.
        db4-devel-4.2.52-2.i386

And optionally (if you need it):

        db4-utils-4.2.52-2.i386

Then:

Find the installed db4 rpms

        rpm -qa | grep db4

if db4-utils-4.1.25-8 or db4-devel-4.1.25-8 or any db4-util-e.1* or
db4-devel-4.1.*, remove these rpms!

        rpm -e  db4-devel
        rpm -e  db4-utils

Then install db4-4.2.52-2.i386.rpm and db4-devel-4.2.52-2.i386.rpm
alongside of db4-4.1.25-8

In directory containing db4-4.2.52-2.i386.rpm and
db4-devel-4.2.52-2.i386.rpm reside

        rpm -ivh db4*

Rebuild DB_file against the new db4-devel libraries

        perl -MCPAN -e shell
        cpan> force install DB_File

---------------

These steps have worked or me on all of the systems I have fixed but beware,
your mileage may vary :(

Steve

Steve Swaney
President
Fortress Systems Ltd.
www.fsl.com
steve.swaney at fsl.com


--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

Fortress Systems Ltd.
www.fsl.com

------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the MAQ (http://www.mailscanner.biz/maq/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).



More information about the MailScanner mailing list