Bug 3744 - db format conversion not working
Summary: db format conversion not working
Status: RESOLVED DUPLICATE of bug 3742
Alias: None
Product: Spamassassin
Classification: Unclassified
Component: Learner (show other bugs)
Version: SVN Trunk (Latest Devel Version)
Hardware: Sun Solaris
: P5 major
Target Milestone: Undefined
Assignee: SpamAssassin Developer Mailing List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-02 13:27 UTC by Tom Schulz
Modified: 2004-09-02 05:31 UTC (History)
0 users



Attachment Type Modified Status Actions Submitter/CLA Status
sa-learn debug output text/plain None Tom Schulz [NoCLA]

Note You need to log in before you can comment on or make changes to this bug.
Description Tom Schulz 2004-09-02 13:27:28 UTC
I am trying to upgrade from 2.64 to 3.0.0-rc2. I am running Solaris 8 and
perl 5.8.0.  I copied the bayes database from our production machine running
2.64 to a test machine which has 3.0.0-rc2.  Both machines are running
Solaris 8. When I ran sa-learn --sync I got:

bayes: bayes db version 2 is not able to be used, aborting! at
/opt/perl/lib/site_perl/5.8.0/Mail/SpamAssassin/BayesStore/DBM.pm line 160.
untie attempted while 1 inner references still exist at
/opt/perl/lib/site_perl/5.8.0/Mail/SpamAssassin/BayesStore/DBM.pm line 493.

When I ran sa-learn --dump I got:

bayes: bayes db version 0 is not able to be used, aborting! at
/opt/perl/lib/site_perl/5.8.0/Mail/SpamAssassin/BayesStore/DBM.pm line 160.
bayes: bayes db version 0 is not able to be used, aborting! at
e_perl/5.8.0/Mail/SpamAssassin/BayesStore/DBM.pm line 160.
ERROR: Bayes dump returned an error, please re-run with -D for more information

I will attach the debug output along with the whole test session.
Note that I could not check to see if this was already known as none of
your mailing list archives have anything later than 29-August in them.
Comment 1 Michael Parker 2004-09-02 13:31:13 UTC

*** This bug has been marked as a duplicate of 3742 ***
Comment 2 Tom Schulz 2004-09-02 13:31:34 UTC
Created attachment 2302 [details]
sa-learn debug output

The test session with the sa-learn debug output
Comment 3 Theo Van Dinter 2004-09-02 13:32:08 UTC
Subject: Re:  New: db format conversion not working

On Thu, Sep 02, 2004 at 01:27:29PM -0700, bugzilla-daemon@bugzilla.spamassassin.org wrote:
> I am trying to upgrade from 2.64 to 3.0.0-rc2. I am running Solaris 8 and
> perl 5.8.0.  I copied the bayes database from our production machine running
> 2.64 to a test machine which has 3.0.0-rc2.  Both machines are running
> Solaris 8. When I ran sa-learn --sync I got:

FYI: Unless both machines have the exact same Berkeley DB software
installed (ie: same libdb, same DB_File, etc,) there's no guarantee that
anything will work in Bayes.

> untie attempted while 1 inner references still exist at
> /opt/perl/lib/site_perl/5.8.0/Mail/SpamAssassin/BayesStore/DBM.pm line 493.

That's a known issue in rc2 (bug 3742).