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
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
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
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
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
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:
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
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
: 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
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
.
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
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
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
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
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
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
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
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
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
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
>under such load, yes.
>if you use per-site bayes database, you can try redis - even faster than>mysql.
Much much much faster
PedroD
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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/
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
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
FYI, I just saw this message after upgrading to Sarge. The solution is to use
db4.2_upgrade on your bayes and AWL dbs.
> 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
-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
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
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
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
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)
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
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
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
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
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
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
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
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
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
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
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
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
57 matches
Mail list logo