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

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

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

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-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

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: lock

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: lock

Re: cannot open bayes databases

2005-06-08 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 Chris
On Monday 30 May 2005 05:02 am, martin smith wrote: M-Original Message- MFrom: Chris [mailto:[EMAIL PROTECTED] MSent: 30 May 2005 04:00 MTo: users@spamassassin.apache.org MSubject: cannot open bayes databases M MWhile running my sa-learn script I'm suddenly getting the below: M

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 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 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) If

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 martin smith
M-Original Message- MFrom: Chris [mailto:[EMAIL PROTECTED] MSent: 30 May 2005 04:00 MTo: users@spamassassin.apache.org MSubject: cannot open bayes databases M MWhile running my sa-learn script I'm suddenly getting the below: M Mdebug: lock: 26313 Mcreated

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 or so spams

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

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

2005-01-23 Thread Joe Polk
@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: Inappropriate ioctl for device Hmm, without more info it's tough to answer

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:

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: