Re: Strange Errors from SA 3.0
So I've been doing some more reading, and I guess I should be stopping SA before I run sa-learn --sync. How do I stop it form the shell prompt? I am somewhat of a newbiew to linux administration Thanks! On Tue, 28 Sep 2004 15:04:34 -0400, David Modoski <[EMAIL PROTECTED]> wrote: > I don't think this got through to the list (I haven't seen it).. > > Just in case, here goes once more... > > I had a similar experience installing. Apparently I didn't let the original > command finish converting the database to version 3. What I ended up doing > is going into my bayes directory and deleting the .lock files including the > ones with process ids (or move them if you do not want to take chances). > Once all of the lock files are gone, run > > sa-learn --sync -D > > The sa-learn command will notice that the db is version 2 and starts to > update it to version 3 (took a while for my machine).. Once it's updated, > then it's only a matter of going through your .cf files.. Check for the > "warning:" > messages in the > > spamassassin --lint -D > > output.. > > That took me a while, too.. For some reason any rules with descriptions > 50 > generates a warning. They show up as errors at the end of the --lint -D.. > So, I went through each cf file and made sure my descriptions were < 50 > characters long.. > > -Original Message- > From: Erik Wickstrom [mailto:[EMAIL PROTECTED] > Sent: Monday, September 27, 2004 8:49 PM > To: users@spamassassin.apache.org > Subject: Strange Errors from SA 3.0 > > Hi all, > > I keep getting strange errors like this from spamassassin: > > sa-learn --dump magic > bayes db version 2 is not able to be used, aborting! at > /usr/lob/perl5/site_perl/5.8.1/Mail/SpamAssassin/BayesStore/DBM.pm > line 160. > ERROR: Bayes dump returned an error, please re-run with -D for more > information > > Sometimes it is db version 0 instead of 2. > > Does anyone know what is going on? > > Thanks! > Erik > >
RE: Strange Errors from SA 3.0
I don't think this got through to the list (I haven't seen it).. Just in case, here goes once more... I had a similar experience installing. Apparently I didn't let the original command finish converting the database to version 3. What I ended up doing is going into my bayes directory and deleting the .lock files including the ones with process ids (or move them if you do not want to take chances). Once all of the lock files are gone, run sa-learn --sync -D The sa-learn command will notice that the db is version 2 and starts to update it to version 3 (took a while for my machine).. Once it's updated, then it's only a matter of going through your .cf files.. Check for the "warning:" messages in the spamassassin --lint -D output.. That took me a while, too.. For some reason any rules with descriptions > 50 generates a warning. They show up as errors at the end of the --lint -D.. So, I went through each cf file and made sure my descriptions were < 50 characters long.. -Original Message- From: Erik Wickstrom [mailto:[EMAIL PROTECTED] Sent: Monday, September 27, 2004 8:49 PM To: users@spamassassin.apache.org Subject: Strange Errors from SA 3.0 Hi all, I keep getting strange errors like this from spamassassin: sa-learn --dump magic bayes db version 2 is not able to be used, aborting! at /usr/lob/perl5/site_perl/5.8.1/Mail/SpamAssassin/BayesStore/DBM.pm line 160. ERROR: Bayes dump returned an error, please re-run with -D for more information Sometimes it is db version 0 instead of 2. Does anyone know what is going on? Thanks! Erik
Re: Strange Errors from SA 3.0
On Tue, Sep 28, 2004 at 12:32:14AM -0500, Michael Parker wrote: > > Sometimes it is db version 0 instead of 2. > > Yes, you read UPGRADE right? BTW: even if the upgrade went correctly, this could also be http://bugzilla.spamassassin.org/show_bug.cgi?id=3563 -- Randomly Generated Tagline: "Choose your weapons to match the war." - Brad Cox pgp4URBbU6anz.pgp Description: PGP signature
Re: Strange Errors from SA 3.0
On Mon, Sep 27, 2004 at 05:48:46PM -0700, Erik Wickstrom wrote: > Hi all, > > I keep getting strange errors like this from spamassassin: > > sa-learn --dump magic > bayes db version 2 is not able to be used, aborting! at > /usr/lob/perl5/site_perl/5.8.1/Mail/SpamAssassin/BayesStore/DBM.pm > line 160. > ERROR: Bayes dump returned an error, please re-run with -D for more > information > > Sometimes it is db version 0 instead of 2. > > Does anyone know what is going on? > Yes, you read UPGRADE right? Read this page for more information: http://wiki.apache.org/spamassassin/BayesUpgradeError Michael
Strange Errors from SA 3.0
Hi all, I keep getting strange errors like this from spamassassin: sa-learn --dump magic bayes db version 2 is not able to be used, aborting! at /usr/lob/perl5/site_perl/5.8.1/Mail/SpamAssassin/BayesStore/DBM.pm line 160. ERROR: Bayes dump returned an error, please re-run with -D for more information Sometimes it is db version 0 instead of 2. Does anyone know what is going on? Thanks! Erik