I've read a number of people having problems with an error similar to what I'm getting with SA v3.0.1:
Cannot open bayes databases /root/.spamassassin/bayes_* R/W: lock failed: File exists
This only happens occassionally and not every time under the exact same invocation of SA. So obviously it doesn't have to do
with permissions on the file or directory as there is nothing else running that would be messing with those files. Don't have
spamd/spamc running and am not doing an sa-learn commands at the same time.
Hmm.. well, check for /root/.spamassassin/bayes_lock
If that files there then some copy of SA is messing with bayes OR a SA process was killed with an unblockable signal (kill -9, seg fault, etc) while it was in the middle of updating the bayes db.