[WBEL-users] Spamassassin Bayes prob.

Conor Wynne weeboy@conorwynne.com
Tue, 05 Oct 2004 09:47:59 +0100


On Tue, 2004-10-05 at 09:37, Conor Wynne wrote:
> Yesterday, spamassasin was upgraded via yum (WBEL3), and last night the
> cron jobs failed :-(
> 
> 9 4 * * * /usr/bin/sa-learn --ham --mbox  $HOME/mail/HAM; cat /dev/null
> > $HOME/mail/HAM
> 0 4 * * * /usr/bin/sa-learn --spam --mbox $HOME/mail/SPAM; cat /dev/null
> > $HOME/mail/INBOX/SPAM
> 
> ERROR: the Bayes learn function returned an error, please re-run with -D
> for more information
> Learned from 0 message(s) (1 message(s) examined).
> 
> debug: bayes: DB_File module not installed, cannot use Bayes
> debug: Score set 0 chosen.
> debug: Initialising learner
> debug: Initialising learner
> debug: Syncing Bayes journal and expiring old tokens...
> debug: bayes: DB_File module not installed, cannot use Bayes
> debug: Syncing complete.
> debug: Removing Markup
> debug: Learning Ham
> debug: uri tests: Done uriRE
> debug: bayes: DB_File module not installed, cannot use Bayes
> Learned from 0 message(s) (1 message(s) examined).
> debug: bayes: 18012 untie-ing
> ERROR: the Bayes learn function returned an error, please re-run with -D
> for more information
> 
> So the bayes DB module is now missing? It worked grand up till last
> night!
> 
> [root@p3000 motocross]# rpm -qa |grep spam
> spamass-milter-0.2.0-1.1.el3.dag
> spamassassin-2.64-2.1.el3.dag
> 
> Anyone else having trouble?

Forgot to add the tail end of strace:

write(1, "Learned from 0 message(s) (1 mes"..., 51Learned from 0
message(s) (1 message(s) examined).
) = 51
write(2, "ERROR: the Bayes learn function "..., 94ERROR: the Bayes learn
function returned an error, please re-run with -D for more information
) = 94
exit_group(25)

If anyone can make sense of that. 
regards

-- 
Conor Wynne
Dublin
Irlande