M>-----Original Message-----
M>From: Chris [mailto:[EMAIL PROTECTED] 
M>Sent: 30 May 2005 04:00
M>To: users@spamassassin.apache.org
M>Subject: cannot open bayes databases
M>
M>While running my sa-learn script I'm suddenly getting the below:
M>
M>debug: lock: 26313
M>created 
M>/home/chris/.spamassassin/bayes.lock.cpollock.localdomain.26313
M>debug: lock: 26313 trying to get lock on 
M>/home/chris/.spamassassin/bayes with 0 retries
M>debug: lock: 26313 trying to get lock on 
M>/home/chris/.spamassassin/bayes with
M>1 retries
M>debug: lock: 26313 trying to get lock on 
M>/home/chris/.spamassassin/bayes with
M>2 retries
M>debug: lock: 26313 trying to get lock on 
M>/home/chris/.spamassassin/bayes with
M>3 retries
M>debug: lock: 26313 trying to get lock on 
M>/home/chris/.spamassassin/bayes with
M>4 retries
M>debug: lock: 26313 trying to get lock on 
M>/home/chris/.spamassassin/bayes with
M>5 retries
M>debug: lock: 26313 trying to get lock on 
M>/home/chris/.spamassassin/bayes with
M>6 retries
M>debug: lock: 26313 trying to get lock on 
M>/home/chris/.spamassassin/bayes with
M>7 retries
M>debug: lock: 26313 trying to get lock on 
M>/home/chris/.spamassassin/bayes with
M>8 retries
M>debug: lock: 26313 trying to get lock on 
M>/home/chris/.spamassassin/bayes with
M>9 retries
M>Cannot open bayes databases /home/chris/.spamassassin/bayes_* 
M>R/W: lock
M>failed: File exists
M>
M>Looking in my ~.SpamAssassin folder I see a bayes.lock file 
M>is still there after running sa-learn.  I've deleted it and 
M>the error persists.  I'm sure there is an easy fix for this.
M>
M>Thanks
M>Chris
M>
M>--
M>Chris

Hi Chris I had the same and deleted the .lock file then ran sa-learn --sync
or you could use --force-expire, worth a go. If that don't work then post
back and someone else may have more ideas.

Martin

Reply via email to