On 2/10/12 11:04 PM, Linda Walsh wrote:
/home/law/.spamassassin/bayes.lock
bayes: cannot open bayes databases /home/law/.spamassassin/bayes_* R/W:
tie failed: No such file or directory
Learned tokens from 0 message(s) (1 message(s) examined)
Feb 10 20:01:23.326 [3573] dbg: plugin:
Mail::SpamAssassin::Plugin::Bayes=HASH(0x3078b58) implements
'learner_close', priority 0
ERROR: the Bayes learn function returned an error, please re-run with -D
for more information at /usr/bin/sa-learn line 493.
Ishtar:law/bin> llg /home/law/.spamassassin/bayes_*
-rwxrwxrwx+ 1 law spamd 20393984 Jan 10 11:25
/home/law/.spamassassin/bayes_seen*
-rwxrwxrwx+ 1 law spamd 14253097 Jan 10 11:25
/home/law/.spamassassin/bayes_seen.txt*
-rwxrwxrwx+ 1 law spamd  5177344 Jan 10 11:25
/home/law/.spamassassin/bayes_toks*

what does it do when you re-run with -D?

anyway, the db4 files are likely corrupted, or locked.

stop spamd
try copying them somewhere, erase them, copy them back.

if that doesn't work, use backup function inside sa-learn, backup, restore.

if that doesn't work, delete them, reboot, copy them back or restore them.

if that doesn't work, delete them and start from scratch.

if you have a busy system, use the mysql dbi, with innodb engine. less likely to corrupt.





--
Michael Scheidell, CTO
o: 561-999-5000
d: 561-948-2259
>*| *SECNAP Network Security Corporation

   * Best Mobile Solutions Product of 2011
   * Best Intrusion Prevention Product
   * Hot Company Finalist 2011
   * Best Email Security Product
   * Certified SNORT Integrator

______________________________________________________________________
This email has been scanned and certified safe by SpammerTrap(r). For Information please see http://www.spammertrap.com/ ______________________________________________________________________

Reply via email to