On Thu, 18 Dec 2003, Lars Magne Ingebrigtsen muttered drunkenly:
> If I run sa-learn while SpamAssassin is checking mail, I get messages
> like the following from the spam-checking process:
> 
> Cannot open bayes databases /var/list/.spamassassin/bayes_* R/W: lock failed: File 
> exists
> 
> (This is with SA version 2.70-cvs from a few days ago.)
> 
> Both the sa-learn process and the mail-checking process run as the
> same user, so it shouldn't be a file permissions problem, I think.

This is normal and expected: the Bayes databases are locked while
they're being written to (by a learn or expire) because they might
be in an inconsistent state, so they shouldn't be used at all until
the lock is removed.

The spam-checking process skips the Bayes-checking if the database is
locked (as blcoking on that lock for a long time would be a very bad
idea). This warning message is just saying that Bayes was skipped.

(Perhaps the message should be made a bit less frightening...)

-- 
`...some suburbanite DSL customer who thinks kernel patches are some
 form of military insignia.' --- Bob Apthorpe


-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to