SA Bugzilla – Bug 3744
db format conversion not working
Last modified: 2004-09-02 05:31:34 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.
*** This bug has been marked as a duplicate of 3742 ***
Created attachment 2302 [details] sa-learn debug output The test session with the sa-learn debug output
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).