You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by tonjg <to...@freeuk.com> on 2010/01/29 19:56:04 UTC

repair bayes db ?

raq550 running strongbolt 2, spamassassin.i386 0:3.2.5-1.el4 
I get the following error when trying to do a an sa-learn command:
bayes: bayes db version 0 is not able to be used, aborting! at
/usr/lib/perl5/vendor_perl/5.8.5/Mail
/SpamAssassin/BayesStore/DBM.pm line 196.
Is there a fix for this?
I did a search on google but couldn't find a straightforward solution. I did
yum remove spamassassin and then re-installed but it made no difference.
I really don't want to do a full system rebuild if I can avoid it. Thanks
for any pointers.
-- 
View this message in context: http://old.nabble.com/repair-bayes-db---tp27376651p27376651.html
Sent from the SpamAssassin - Users mailing list archive at Nabble.com.


Re: repair bayes db ?

Posted by Kai Schaetzl <ma...@conactive.com>.
Ralph Bornefeld-Ettmann wrote on Sat, 30 Jan 2010 02:56:34 +0100:

> it should be enough to rebuild table bayes_global_vars.

He isn't using SQL it seems.

Kai

-- 
Get your web at Conactive Internet Services: http://www.conactive.com




Re: repair bayes db ?

Posted by Ralph Bornefeld-Ettmann <il...@bornefeld-ettmann.de>.
Am 29.01.2010 19:56, schrieb tonjg:
> 
> raq550 running strongbolt 2, spamassassin.i386 0:3.2.5-1.el4 
> I get the following error when trying to do a an sa-learn command:
> bayes: bayes db version 0 is not able to be used, aborting! at
> /usr/lib/perl5/vendor_perl/5.8.5/Mail
> /SpamAssassin/BayesStore/DBM.pm line 196.
> Is there a fix for this?
> I did a search on google but couldn't find a straightforward solution. I did
> yum remove spamassassin and then re-installed but it made no difference.
> I really don't want to do a full system rebuild if I can avoid it. Thanks
> for any pointers.

it should be enough to rebuild table bayes_global_vars.
sa-learn found version "0" but it should find version "3"!