You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by LuKreme <kr...@kreme.com> on 2004/07/28 23:03:12 UTC
sa-learn problem (bayes db version 2)
when trying to run sa-learn
/usr/local/bin/sa-learn -D --spam --mbox $HOME/Mail/TheMailBox
on one of my mailboxes I got:
Cannot open bayes databases /home/*munged*/.spamassassin/bayes_* R/W:
lock failed: Interrupted system call
Learned from 0 message(s) (1 message(s) examined).
ERROR: the Bayes learn function returned an error, please re-run with
-D for more information
running with -D gives me:
debug: bayes: found bayes db version 2
debug: bayes: bayes db version 2 is not able to be used, aborting!
debug: Score set 0 chosen.
debug: Initialising learner
debug: Syncing Bayes and expiring old tokens...
debug: lock: 13545 created /home/*munged*/.spamassassin/bayes.mutex
debug: lock: 13545 trying to get lock on
/home/*munged*/.spamassassin/bayes with 300 timeout
which then proceeds to timeout
looking at the permissions in the .spamassassin directory they all look
right:
160 -rw------- 1 *munged* staff 196608 Jul 28 14:39 auto-whitelist
608 -rw------- 1 *munged* staff 602112 Mar 22 03:37
auto-whitelist.db
2 -rw------- 1 *munged* staff 6 Jul 28 14:39
auto-whitelist.mutex
2 -rw------- 1 *munged* staff 23 Jul 19 12:20 bayes.lock
2 -rw------- 1 *munged* staff 12 Jul 28 14:39 bayes.mutex
528 -rw------- 1 *munged* staff 655360 Jul 28 14:39 bayes_seen
4144 -rw------- 1 *munged* staff 4227072 Jul 28 14:39 bayes_toks
2112 -rw------- 1 *munged* staff 2555904 Jul 1 06:24 bayes_toks.new
2 -rw-r--r-- 1 *munged* staff 1210 Feb 15 03:09 user_prefs
The db error concerns me, obviously. Do I have to do something with
bayes to get it working with SA3? the identical command works for
other users on the system, but each one I checked had a bayes db
version 3.
--
Can I tell you the truth? I mean this isn’t like TV news, is it?