Sa-learn error

Martin Hepworth martinh at SOLID-STATE-LOGIC.COM
Thu Jan 8 16:13:09 GMT 2004

Jody Cleveland wrote:
> Hello,
> I've got the latest mailscanner and spamassassin running on redhat 9.
> What's happening is I'm trying to run this:
>  sa-learn -p /etc/MailScanner/spam.assassin.prefs.conf --spam --dir
> /var/spool/mail/cleveland
> And, I get this error:
> Cannot open bayes databases /etc/MailScanner/bayes/bayes_* R/W: lock
> failed: File exists
> And then just sits there. Any ideas? Is this something I should be
> asking the SA list instead?
> --
> Jody Cleveland
> (cleveland at

I had something similar when I upgraded from SA 2.60 to 2.61. The file
persmissions got broke. have a look at the persmissions/ownships and
make sure they are consistent

Martin Hepworth
Snr Systems Administrator
Solid State Logic
Tel: +44 (0)1865 842300


This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote confirms that this email message has been swept
for the presence of computer viruses and is believed to be clean.


More information about the MailScanner mailing list