You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by ca...@nc.rr.com on 2007/07/06 03:16:54 UTC

Bayes not able to be used

Upon starting spamd on SA 3.2.1, we see this,
[18662] warn: bayes: bayes db version 0 is not able to be used, aborting! at
/usr/lib/perl5/site_perl/5.8.3/Mail/SpamAssassin/BayesStore/DBM.pm
line196, <GEN93> line 3.
The local.cf has use_bayes   1
I also ran sa-learn --sync -D. This says it found bayes DB version 3 but
i only keep seeing the above error. A ls -l
/usr/lib/perl5/site_perl/5.8.3/Mail/SpamAssassin/BayesStore.pm
shows:
-r--r--r--  1 root root 22758 Jun  8 08:55
/usr/lib/perl5/site_perl/5.8.3/Mail/SpamAssassin/BayesStore.pm
Shouldn't one of those "r's" be "rw"?

Can someone help get this working?
 

Re: Bayes not able to be used

Posted by Matt Kettler <mk...@verizon.net>.
carnold5@nc.rr.com wrote:
> Upon starting spamd on SA 3.2.1, we see this,
> [18662] warn: bayes: bayes db version 0 is not able to be used, aborting! at
> /usr/lib/perl5/site_perl/5.8.3/Mail/SpamAssassin/BayesStore/DBM.pm
> line196, <GEN93> line 3.
>   
Hmm, what parameters are you passing to spamd? Are you passing a -u?
> The local.cf has use_bayes   1
> I also ran sa-learn --sync -D. This says it found bayes DB version 3 but
> i only keep seeing the above error. A ls -l
> /usr/lib/perl5/site_perl/5.8.3/Mail/SpamAssassin/BayesStore.pm
> shows:
> -r--r--r--  1 root root 22758 Jun  8 08:55
> /usr/lib/perl5/site_perl/5.8.3/Mail/SpamAssassin/BayesStore.pm
> Shouldn't one of those "r's" be "rw"?
>   
No. Why would you want something to write to the BayesStore.pm? That's
the CODE not the database.

> Can someone help get this working?
>   
What's sa-learn --dump magic report?

(note: if passing -u to spamd, su to that user first)


>  
>