Re: cannot open bayes databases /var/sabayes/bayes_* R/W: lock failed

2008-03-25 Thread John Hardin
On Tue, 25 Mar 2008, Mike Fahey wrote: Every 24 hours, the following message scrolls in the log sa stop processing and I have to stop sa, remove bayes* and restart it. 18804736 bayes_toks.expire55880 10989568 bayes_toks.expire56051 19247104 bayes_toks.expire56167 18370560 bayes_toks.expire5

Re: cannot open bayes databases Interrupted system call

2008-02-27 Thread Mike Fahey
I'll give this a shot. thanks Matt Kettler wrote: Mike Fahey wrote: This page specifically uses /etc/mail/spamassassin. Yeah, I read that the first time. It is wrong. In fact, I'd say it's stupid. I'll go edit the wiki article when I get a chance, but I want to have some time to really

Re: cannot open bayes databases Interrupted system call

2008-02-26 Thread Matt Kettler
Mike Fahey wrote: This page specifically uses /etc/mail/spamassassin. Yeah, I read that the first time. It is wrong. In fact, I'd say it's stupid. I'll go edit the wiki article when I get a chance, but I want to have some time to really sit down and do an extensive rewrite there. There's a

Re: cannot open bayes databases Interrupted system call

2008-02-26 Thread Mike Fahey
This page specifically uses /etc/mail/spamassassin. I believe its hardware related, as other machines work fine. Does anyone else have any tweaks for global bayes ? Matt Kettler wrote: Mike Fahey wrote: I'm using site wide Bayesian Filtering. These files can become very large anywhere fro

Re: cannot open bayes databases Interrupted system call

2008-02-20 Thread Matt Kettler
Mike Fahey wrote: Every 24 hours I see the following errors and spamassassin has to be restarted. Other machines running SA are fine. SA 3.2.4_1 freebsd 6.2 perl5.8.8 spamd[19777]: bayes: cannot open bayes databases /usr/local/share/spamassassin/bayes_* R/W: lock failed: Interrupted system c

Re: cannot open bayes databases R/W:,lock failed: Interrupted system call

2007-05-25 Thread Jari Fredriksson
Mike Fahey wrote: > spamassassin server - 3gb ram, intel quad core 2.4 cpu,freebsd 6.2 > > Every day the bayesian database gets corrupted. We see the following > in the log file. We only use sqlite for scores. > > bayes: cannot open bayes databases > /usr/local/share/spamassassin/bayes_* R/W: > l

Re: cannot open bayes databases R/W:,lock failed: Interrupted system call

2007-05-25 Thread Justin Mason
Mike Fahey writes: > spamassassin server - 3gb ram, intel quad core 2.4 cpu,freebsd 6.2 > > Every day the bayesian database gets corrupted. We see the following in > the log file. We only use sqlite for scores. > > bayes: cannot open bayes databases /usr/local/share/spamassassin/bayes_* > R/W:

Re: cannot open bayes databases

2005-06-07 Thread Anthony DeRobertis
FYI, I just saw this message after upgrading to Sarge. The solution is to use db4.2_upgrade on your bayes and AWL dbs.

Re: cannot open bayes databases

2005-05-31 Thread Kris Deugau
> Bruno Delbono wrote: > > I've found that recovering bayes berkeley db databases can be a > > very big chore and would suggest that you move to a proper SQL > > datbase (MySQL, PostgreSQL, SQLite) as soon as possible. > > BerkeleyDB is horrible! Both in performance and reliability. Michael Parker

Re: cannot open bayes databases

2005-05-30 Thread Michael Parker
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Bruno Delbono wrote: > I've found that recovering bayes berkeley db databases can be a > very big chore and would suggest that you move to a proper SQL > datbase (MySQL, PostgreSQL, SQLite) as soon as possible. > BerkeleyDB is horrible! Both in perfor

Re: cannot open bayes databases

2005-05-30 Thread Chris
On Monday 30 May 2005 05:58 pm, Bruno Delbono wrote: > On Mon, 30 May 2005 15:47:01 -0700, Chris <[EMAIL PROTECTED]> wrote: > > The problem appears to be that database is corrupted. I renamed the old > > ~/.spamassassin, ran my reporter script an all was well. Luckily I have > > a > > good 1000 o

RE: cannot open bayes databases

2005-05-30 Thread martin smith
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/.spamassa

Re: cannot open bayes databases

2005-05-30 Thread Bruno Delbono
On Mon, 30 May 2005 15:47:01 -0700, Chris <[EMAIL PROTECTED]> wrote: The problem appears to be that database is corrupted. I renamed the old ~/.spamassassin, ran my reporter script an all was well. Luckily I have a good 1000 or so spams saved up, hams are another matter. Is there any way

Re: cannot open bayes databases

2005-05-30 Thread Chris
On Monday 30 May 2005 05:24 pm, Bruno Delbono wrote: > > Ah. It could be number of things - corrupt database, bad berkley db > install, missing libdb_deadlock (usually libdb3/4_deadlock), permissions. > I would suggest > > 1) Make sure that ~/.spamassassin is owned by you chris (both uid:gid) > 2)

Re: cannot open bayes databases

2005-05-30 Thread Bruno Delbono
CC'g the list as you sent the message only to me. On Mon, 30 May 2005 15:10:16 -0700, Chris <[EMAIL PROTECTED]> wrote: On Monday 30 May 2005 11:05 am, Bruno Delbono wrote: Chris wrote: > No joy Martin. Tried both --sync and --force-expire. Anyone else with > ideas? strace sa-learn --sync

Re: cannot open bayes databases

2005-05-30 Thread Bruno Delbono
Chris wrote: No joy Martin. Tried both --sync and --force-expire. Anyone else with ideas? strace sa-learn --sync and see what exactly is it doing -Bruno

Re: cannot open bayes databases

2005-05-30 Thread Chris
On Monday 30 May 2005 05:02 am, martin smith wrote: > 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

Re: Cannot open bayes databases

2005-01-23 Thread Joe Polk
To: "Joe Polk" <[EMAIL PROTECTED]>, users@spamassassin.apache.org Sent: Sat, 22 Jan 2005 23:18:55 -0500 Subject: Re: Cannot open bayes databases > At 03:08 PM 1/22/2005, Joe Polk wrote: > >Cannot open bayes databases /home/jav/.spamassassin/bayes_* R/O: tie failed: > >Inapp

Re: Cannot open bayes databases

2005-01-23 Thread Matt Kettler
At 03:08 PM 1/22/2005, Joe Polk wrote: Cannot open bayes databases /home/jav/.spamassassin/bayes_* R/O: tie failed: Inappropriate ioctl for device Hmm, without more info it's tough to answer why you got that error... It could be a non-existant directory issue, or a non-file matching the * (ie: a

Re: Cannot open bayes databases /var/amavisd/.spamassassin/bayes_* R/O: tie failed: Inappropriate file type or format

2004-10-13 Thread Chris Weiss
Matt Kettler wrote: At 12:55 AM 10/13/2004 -0700, Chris Weiss wrote: debug: config: SpamAssassin failed to parse line, skipping: rewrite_subject 1 debug: config: SpamAssassin failed to parse line, skipping: use_terse_report 0 debug: config: SpamAssassin failed to parse line, skipping: auto_learn

Re: Cannot open bayes databases /var/amavisd/.spamassassin/bayes_* R/O: tie failed: Inappropriate file type or format

2004-10-13 Thread Matt Kettler
At 12:55 AM 10/13/2004 -0700, Chris Weiss wrote: debug: config: SpamAssassin failed to parse line, skipping: rewrite_subject 1 debug: config: SpamAssassin failed to parse line, skipping: use_terse_report 0 debug: config: SpamAssassin failed to parse line, skipping: auto_learn 1 debug: config: SpamA

Re: Cannot open bayes databases /var/amavisd/.spamassassin/bayes_* R/O: tie failed: Inappropriate file type or format

2004-10-13 Thread Chris Weiss
Matt Kettler wrote: At 12:25 AM 10/13/2004 -0700, Chris Weiss wrote: I've tried completely deleting and re-creating the bayes databases (using sa-learn clear followed by sa-learn on my various mailboxes), but am still getting the errors. I also made sure I'd installed DB_file (I'd read somewher

Re: Cannot open bayes databases /var/amavisd/.spamassassin/bayes_* R/O: tie failed: Inappropriate file type or format

2004-10-13 Thread Matt Kettler
At 12:25 AM 10/13/2004 -0700, Chris Weiss wrote: I've tried completely deleting and re-creating the bayes databases (using sa-learn clear followed by sa-learn on my various mailboxes), but am still getting the errors. I also made sure I'd installed DB_file (I'd read somewhere it was needed). Any