Re: Error "cannot open bayes databases" lock failed: File exists

2021-01-22 Thread Matus UHLAR - fantomas
On 21.01.21 13:41, Emanuel Gonzalez wrote: anyway, the error is still represented even with low configuration values. Jan 21 10:39:43 eternia6 spamd[28053]: bayes: cannot open bayes databases /var/spamassassin/bayesdb/bayes_* R/W: lock failed: File exists Jan 21 10:39:43 eternia6 spamd[28299

Re: Error "cannot open bayes databases" lock failed: File exists

2021-01-21 Thread RW
On Thu, 21 Jan 2021 14:08:59 +0100 Matus UHLAR - fantomas wrote: > journalling may help a bit, but it makes no sense to parse more mail > within one CPU at the same time. That's true provided that everything remains completely CPU limited. The problem is that if you run any network tests and s

RE: Error "cannot open bayes databases" lock failed: File exists

2021-01-21 Thread Emanuel Gonzalez
anyway, the error is still represented even with low configuration values. Jan 21 10:39:43 eternia6 spamd[28053]: bayes: cannot open bayes databases /var/spamassassin/bayesdb/bayes_* R/W: lock failed: File exists Jan 21 10:39:43 eternia6 spamd[28299]: bayes: cannot open bayes databases /var

RE: Error "cannot open bayes databases" lock failed: File exists

2021-01-21 Thread Emanuel Gonzalez
o: RE: Error "cannot open bayes databases" lock failed: File exists The problem can be generated by the number of processes? # Server CPU cpu family : 6 model : 60 model name : Intel(R) Core(TM) i7-4790 CPU @ 3.60GHz # SpamAssassin SPAMDOPTIONS="-u spamd --m

Re: Error "cannot open bayes databases" lock failed: File exists

2021-01-21 Thread Matus UHLAR - fantomas
On 20.01.21 18:31, Emanuel Gonzalez wrote: The problem can be generated by the number of processes? number of concurrent processes trying to write to the bayes DB at the same time. journalling may help a bit, but it makes no sense to parse more mail within one CPU at the same time. # Server

RE: Error "cannot open bayes databases" lock failed: File exists

2021-01-20 Thread Emanuel Gonzalez
ld=60 --max-conn-per-child=150 what change i need to apply? Regards, Emanuel. De: Matus UHLAR - fantomas Enviado: miércoles, 20 de enero de 2021 15:28 Para: users@spamassassin.apache.org Asunto: Re: Error "cannot open bayes databases" lock failed:

Re: Error "cannot open bayes databases" lock failed: File exists

2021-01-20 Thread Matus UHLAR - fantomas
On 20.01.21 14:50, Emanuel Gonzalez wrote: Hello Matus, thanks for your reply. # ls -la /var/spamassassin/bayesdb/bayes ls: no se puede acceder a /var/spamassassin/bayesdb/bayes: No existe el fichero o el directorio I see an error of inexistent file. sorry, that was supposed to be: ls -l

Re: Error "cannot open bayes databases" lock failed: File exists

2021-01-20 Thread RW
On Wed, 20 Jan 2021 14:50:53 + Emanuel Gonzalez wrote: > # lsof /var/spamassassin/bayesdb/bayes_journal > /var/spamassassin/bayesdb/bayes_seen > /var/spamassassin/bayesdb/bayes_toks > > COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME > spamd 25467 spamd 12r REG8,1 5

RE: Error "cannot open bayes databases" lock failed: File exists

2021-01-20 Thread Emanuel Gonzalez
: miércoles, 20 de enero de 2021 13:39 Para: users@spamassassin.apache.org Asunto: Re: Error "cannot open bayes databases" lock failed: File exists On Wed, 20 Jan 2021, Matus UHLAR - fantomas wrote: > On 20.01.21 11:07, Emanuel Gonzalez wrote: >> Date: Wed, 20 Jan 2021 11:07:59 +00

Re: Error "cannot open bayes databases" lock failed: File exists

2021-01-20 Thread Dave Funk
On Wed, 20 Jan 2021, Matus UHLAR - fantomas wrote: On 20.01.21 11:07, Emanuel Gonzalez wrote: Date: Wed, 20 Jan 2021 11:07:59 + From: Emanuel Gonzalez To: SA Mailing list Subject: Re: Error "cannot open bayes databases" lock failed: File exists Hello everyone, i'm back fr

RE: Error "cannot open bayes databases" lock failed: File exists

2021-01-20 Thread Emanuel Gonzalez
. De: Matus UHLAR - fantomas Enviado: miércoles, 20 de enero de 2021 9:09 Para: users@spamassassin.apache.org Asunto: Re: Error "cannot open bayes databases" lock failed: File exists On 20.01.21 11:07, Emanuel Gonzalez wrote: >Date: Wed, 20 Jan 2021 1

Re: Error "cannot open bayes databases" lock failed: File exists

2021-01-20 Thread Matus UHLAR - fantomas
On 20.01.21 11:07, Emanuel Gonzalez wrote: Date: Wed, 20 Jan 2021 11:07:59 + From: Emanuel Gonzalez To: SA Mailing list Subject: Re: Error "cannot open bayes databases" lock failed: File exists Hello everyone, i'm back from my vacations, i try solved this problem but i

Re: Error "cannot open bayes databases" lock failed: File exists

2021-01-20 Thread Emanuel Gonzalez
bayes databases /var/spamassassin/bayesdb/bayes_* R/W: lock failed: File exists Jan 20 07:25:27 eternia6 spamd[22916]: bayes: cannot open bayes databases /var/spamassassin/bayesdb/bayes_* R/W: lock failed: File exists Jan 20 07:25:27 eternia6 spamd[22843]: bayes: cannot open bayes databases

Re: Error "cannot open bayes databases" lock failed: File exists

2020-12-30 Thread Kris Deugau
Emanuel Gonzalez wrote: # SpamAssassin Deamon config SPAMDOPTIONS="-u spamd --round-robin --min-children=30 --max-children=180 --min-spare=25 --max-spare=80 --timeout-child=60 --max-conn-per-child=150 -i -A 172.17.0.0/16,10.0.0.0/8,200.58.96.0/19,179.43.112.0/20,168.197.48.0/22,168.181.1

Re: Error "cannot open bayes databases" lock failed: File exists

2020-12-30 Thread Matus UHLAR - fantomas
On 30.12.20 13:53, Emanuel Gonzalez wrote: Dec 30 09:56:57 eternia6 spamd[15993]: bayes: cannot open bayes databases /var/spamassassin/bayesdb/bayes_* R/W: lock failed: File exists Dec 30 09:56:57 eternia6 spamd[15915]: bayes: cannot open bayes databases /var/spamassassin/bayesdb/bayes_* R/W

Error "cannot open bayes databases" lock failed: File exists

2020-12-30 Thread Emanuel Gonzalez
Good Morning everyone, In the logs of spamassassin i see this error: Dec 30 09:56:57 eternia6 spamd[15993]: bayes: cannot open bayes databases /var/spamassassin/bayesdb/bayes_* R/W: lock failed: File exists Dec 30 09:56:57 eternia6 spamd[15915]: bayes: cannot open bayes databases /var

Re: bayes: cannot open bayes databases lock failed: File exists

2018-04-10 Thread Matus UHLAR - fantomas
On 09.04.18 16:09, Emanuel Gonzalez wrote: Hello, thanks for the reply. I use one database bayes for all email accounts (not sites, sorry for the error) how? amavis? bayes_expiry_max_db_size 15 bayes_learn_to_journal 1 bayes_auto_learn 0 this means you need to train manually 2- why t

Re: bayes: cannot open bayes databases lock failed: File exists

2018-04-09 Thread Emanuel Gonzalez
abril de 2018 13:00:49 Para: users@spamassassin.apache.org Asunto: Re: bayes: cannot open bayes databases lock failed: File exists On 09.04.18 11:01, Emanuel Gonzalez wrote: >I use one bayes database to all sites in my server. sites? afaik spamd and MTAs differ between mailboxes, not sites. &g

Re: bayes: cannot open bayes databases lock failed: File exists

2018-04-09 Thread Matus UHLAR - fantomas
for all email accounts? so, do you use one or multipler BAYES databases? De: Pedro David Marco Enviado: viernes, 6 de abril de 2018 19:01:53 Para: users@spamassassin.apache.org Asunto: Re: bayes: cannot open bayes databases lock failed: File exists under such load, yes. if you use per-site

Re: bayes: cannot open bayes databases lock failed: File exists

2018-04-09 Thread Emanuel Gonzalez
Marco Enviado: viernes, 6 de abril de 2018 19:01:53 Para: users@spamassassin.apache.org Asunto: Re: bayes: cannot open bayes databases lock failed: File exists >under such load, yes. >if you use per-site bayes database, you can try redis - even faster than >mysql. Much much mu

Re: bayes: cannot open bayes databases lock failed: File exists

2018-04-06 Thread Pedro David Marco
>under such load, yes. >if you use per-site bayes database, you can try redis - even faster than>mysql. Much much much faster PedroD

Re: bayes: cannot open bayes databases lock failed: File exists

2018-04-06 Thread Matus UHLAR - fantomas
On 06.04.18 15:47, Emanuel wrote: randomly I see these errors Apr  6 15:13:29 server spamd[25456]: bayes: cannot open bayes databases /.spamassassin/bayes_* R/W: lock failed: File exists Apr  6 15:13:29 server spamd[25144]: bayes: cannot open bayes databases /.spamassassin/bayes_* R/W: lock

bayes: cannot open bayes databases lock failed: File exists

2018-04-06 Thread Emanuel
Hello, randomly I see these errors Apr  6 15:13:29 server spamd[25456]: bayes: cannot open bayes databases /.spamassassin/bayes_* R/W: lock failed: File exists Apr  6 15:13:29 server spamd[25144]: bayes: cannot open bayes databases /.spamassassin/bayes_* R/W: lock failed: File exists Apr  6

Re: bayes: cannot open bayes databases /home/user/.spamassassin/bayes_* R/W: tie failed: No such file or directory

2009-07-12 Thread Benny Pedersen
On Sun, July 12, 2009 21:04, Admin wrote: > $ sa-learn --no-sync --spam --mbox ~/mail/Spam ls -l ~/mail/Spam ls -l /mail/Spam > bayes: cannot open bayes databases /home/user/.spamassassin/bayes_* R/O: > tie failed: does the dir .spamassassin exists with the same user ? have you set

bayes: cannot open bayes databases /home/user/.spamassassin/bayes_* R/W: tie failed: No such file or directory

2009-07-12 Thread Admin
Hi there, Any clues how I can fix the following error? sa-learn is failing $ sa-learn --no-sync --spam --mbox ~/mail/Spam bayes: cannot open bayes databases /home/user/.spamassassin/bayes_* R/O: tie failed: bayes: cannot open bayes databases /home/user/.spamassassin/bayes_* R/O: tie failed

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

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

2008-03-25 Thread Mike Fahey
Every 24 hours, the following message scrolls in the log sa stop processing and I have to stop sa, remove bayes* and restart it. bayes: cannot open bayes databases /var/sabayes/bayes_* R/W: lock failed: Interrupted system call Contents of bayes directory. 6756 bayes.mutex 2474884

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

cannot open bayes databases Interrupted system call

2008-02-20 Thread Mike Fahey
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 call

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

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

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

2007-05-25 Thread Mike Fahey
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 failed: Interrupted

Lots of bayes_toks.expire & warn: bayes: cannot open bayes databases

2006-08-15 Thread Agustín Ciciliani
sometimes 20 copies of the same mail. I think this is happening because my spamassassin is not well configured about the bayes learning, so I also get lots of "bayes_toks.expireX" files in the scan folder and lots of "warn: bayes: cannot open bayes databases /var/spool/simscan/

Re: Another New Problem, cannot open bayes databases

2006-05-15 Thread Matt Kettler
David Baron wrote: > spamd[1697]: bayes: cannot open bayes databases .../.spamassassin/bayes_* > R/W: > lock failed: File exists. > > I get a bunch of these now. The ~/.spamassassin directory has:ls > auto-whitelist bayes_seen bayes_toks.expire6293 > bayes_journal b

Another New Problem, cannot open bayes databases

2006-05-15 Thread David Baron
spamd[1697]: bayes: cannot open bayes databases .../.spamassassin/bayes_* R/W: lock failed: File exists. I get a bunch of these now. The ~/.spamassassin directory has:ls auto-whitelist bayes_seen bayes_toks.expire6293 bayes_journal bayes_toks user_prefs They are NOT in the locate database

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

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 m

cannot open bayes databases

2005-05-29 Thread Chris
ng to get lock on /home/chris/.spamassassin/bayes with 8 retries debug: lock: 26313 trying to get lock on /home/chris/.spamassassin/bayes with 9 retries Cannot open bayes databases /home/chris/.spamassassin/bayes_* R/W: lock failed: File exists Looking in my ~.SpamAssassin folder I see a bayes

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 * (i

Cannot open bayes databases

2005-01-22 Thread Joe Polk
Anyone know what causes this? I get it running sa-learn as root or anybody else. This just started happening, though I did update recently. Cannot open bayes databases /home/jav/.spamassassin/bayes_* R/O: tie failed: Inappropriate ioctl for device Cannot open bayes databases /home/jav

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

2004-10-13 Thread Chris Weiss
ther way -ya? debug: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x3cb7d078) inhibited further callbacks debug: bayes: 7110 tie-ing to DB file R/O /var/amavisd/.spamassassin/bayes_toks Cannot open bayes databases /var/amavisd/.spamassassin/bayes_* R/O: tie failed: Inappropriate file type or forma

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

2004-10-13 Thread Matt Kettler
bayes_auto_learn. I don't think it's ever not had bayes in it's name debug: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x3cb7d078) inhibited further callbacks debug: bayes: 7110 tie-ing to DB file R/O /var/amavisd/.spamassassin/bayes_toks Cannot open bayes databas

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

2004-10-13 Thread Chris Weiss
SpamAssassin failed to parse line, skipping: auto_learn 1 debug: config: SpamAssassin failed to parse line, skipping: dcc_add_header 1 debug: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x3cb7d078) inhibited further callbacks debug: bayes: 7110 tie-ing to DB file R/O /var/amavisd/.spamassas

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

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

2004-10-13 Thread Chris Weiss
went well, except now I'm getting the following error: Cannot open bayes databases /var/amavisd/.spamassassin/bayes_* R/O: tie failed: Inappropriate file type or format I've tried completely deleting and re-creating the bayes databases (using sa-learn clear followed by sa-learn on my va