You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Michael D Schleif <md...@helices.org> on 2004/02/26 03:26:05 UTC

sa-learn error ???

Anybody got a clue about this?

   # sa-learn --forget ~/mail/tmp
   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

   # sa-learn -D --forget ~/mail/tmp
   debug: Score set 0 chosen.
   debug: running in taint mode? yes
   debug: Running in taint mode, removing unsafe env vars, and resetting PATH
   debug: PATH included '/bin', keeping.
   debug: PATH included '/usr/bin', keeping.
   debug: PATH included '/usr/X11R6/bin', keeping.
   debug: PATH included '/usr/local/bin', keeping.
   debug: Final PATH set to: /bin:/usr/bin:/usr/X11R6/bin:/usr/local/bin
   debug: using "/usr/share/spamassassin" for default rules dir
   debug: using "/etc/spamassassin" for site rules dir
   debug: using "/home/mds/.spamassassin/user_prefs" for user prefs file
   debug: bayes: 31299 tie-ing to DB file R/O /home/mds/.spamassassin/bayes_toks
   debug: bayes: 31299 tie-ing to DB file R/O /home/mds/.spamassassin/bayes_seen
   debug: bayes: found bayes db version 2
   debug: Score set 2 chosen.
   debug: Initialising learner
   debug: Initialising learner
   debug: Syncing Bayes journal and expiring old tokens...
   debug: lock: 31299 created /home/mds/.spamassassin/bayes.lock.bragi.private.network.31299
   debug: lock: 31299 trying to get lock on /home/mds/.spamassassin/bayes with 0 retries
   debug: lock: 31299 link to /home/mds/.spamassassin/bayes.lock: link ok
   debug: bayes: 31299 tie-ing to DB file R/W /home/mds/.spamassassin/bayes_toks
   debug: bayes: 31299 tie-ing to DB file R/W /home/mds/.spamassassin/bayes_seen
   debug: bayes: found bayes db version 2
   debug: Syncing complete.
   debug: Removing Markup
   debug: uri tests: Done uriRE
   debug: forget: message A9D8461BDF1C5446B1FFD5661AB0263B02446ED0@xboi23.boise.itc.hp.com not learnt, ignored
   Learned from 0 message(s) (1 message(s) examined).
   debug: bayes: 31299 untie-ing
   debug: bayes: 31299 untie-ing db_toks
   debug: bayes: 31299 untie-ing db_seen
   debug: bayes: files locked, now unlocking lock
   debug: unlock: 31299 unlink /home/mds/.spamassassin/bayes.lock
   ERROR: the Bayes learn function returned an error, please re-run with -D for more information


-- 
Best Regards,

mds
mds resource
877.596.8237
-
Dare to fix things before they break . . .
-
Our capacity for understanding is inversely proportional to how much
we think we know.  The more I know, the more I know I don't know . . .
--

Re: sa-learn error ???

Posted by Michael D Schleif <md...@helices.org>.
* Jason Crowe <jc...@midwestglove.com> [2004:02:26:08:40:08-0600] scribed:
> I am going to guess that you recently upgraded to perl 5.8. This is what
> happened to me when I upgraded. I never found a fix.

No, I have been running 5.8x for many months.

Also, no, this one (1) message throws an error; but, *NO* other messages
similarly processed -- before and after -- this message throw errors.

So, this is an exception and it is not attributable to perl 5.8x.

Any other ideas?

-- 
Best Regards,

mds
mds resource
877.596.8237
-
Dare to fix things before they break . . .
-
Our capacity for understanding is inversely proportional to how much
we think we know.  The more I know, the more I know I don't know . . .
--