Home > Cannot Open > Cannot Open Bayes Databases R/w Lock Failed

Cannot Open Bayes Databases R/w Lock Failed

Acknowledgement sent to Greg Kochanski : Extra info received and forwarded to list. SpamAssassin Rules Emporium (SARE) http://khopesh.com/wiki/Anti-spam#Other_SpamAssassin_tools Tuning se2c Compiled rulesets. cannot open databases, lock failed, file exists Alex mysqlstudent at gmail.com Fri Oct 28 01:11:26 CEST 2011 Previous message: cannot open databases, lock failed, file exists Next message: Adding support for We see the following in the log file. this contact form

S 0:08 spamd child 28137 ? Forum Statistics Discussions: 53,835 Messages: 285,369 Members: 91,940 Latest Member: Delgadillo Share This Page Tweet Howtoforge - Linux Howtos and Tutorials Home Forums > Linux Forums > Server Operation > English Comment 6 Bart Schaefer 2006-07-05 07:18:44 UTC Correction: sa-learn does not spin forever; eventually it prints this: Learned tokens from 1 message(s) (1 message(s) examined) bayes: cannot open bayes databases /home/schaefer/.spamassassin/bayes_* at /Library/Perl/5.8.6/Mail/SpamAssassin/BayesStore/DBM.pm line 195.bayes: cannot open bayes databases /var/clamav/.spamassassin/bayes_* R/W: lock failed: File existsbayes: cannot open bayes databases /var/clamav/.spamassassin/bayes_* R/W: lock failed: File existsbayes: cannot open bayes databases /var/clamav/.spamassassin/bayes_* R/W: lock Continued

Comment 1 Simon Matter 2007-06-12 23:58:28 UTC I see the same problem since 3.2.0, now also with 3.2.1. Home | New | Browse | Search | [?] | Reports | Help | NewAccount | Log In Remember [x] | Forgot Password Login: [x] Open Menu Close Menu Apple Shopping mysql -u root -p mysql>grant insert,select,delete,update on sasql.* to 'sasqluser'@'localhost' identified by 'sasqlpass'; mysql>flush privileges; mysql>create database sasql; mysql>quit mysql sasql -u root -p < /usr/share/doc/spamassassin/sql/userpref_mysql.sql and make sure to run In case of problems with the functioning of SA Bugzilla, please contact [email protected]

Comment 11 gdr+apache 2014-11-07 16:22:51 UTC As an example, was running spamd in the foreground in debug mode, now shut down. Reply With Quote 10-05-2007,07:39 AM #2 OliverScott View Profile View Forum Posts Verified User Join Date May 2007 Posts 57 Please note that I am NOT a linux expert but have required=? > no. Thanks.

Starting on March 14, 2010, after upgrading to the then-current version of spamassassin, I started getting that message about every 20 minutes, and every time I invoked sa-learn to learn a On at least two occasions now I've invoked sa-learn explicitly on a message that passed spamd, while spamd was still actively processing other messages. Comment 4 Bart Schaefer 2006-06-28 00:08:23 UTC This still happens with 3.0.6, though more rarely. https://lists.amavis.org/pipermail/amavis-users/2011-October/000948.html Full text and rfc822 format available.

Acknowledgement sent to Peter Chubb : Extra info received and filed, but not forwarded. Full text and rfc822 format available. Comment 7 Kevin A. Instead, sa-learn goes into a loop calling lstat() on ~/.spamassassin/bayes.lock.

Last modified: Tue Nov 8 01:29:36 2016; Machine Name: buxtehude Debian Bug tracking system Copyright (C) 1999 Darren O. Last modified: 2014-11-07 17:01:11 UTC Home | New | Browse | Search | [?] | Reports | Help | NewAccount | Log In Remember [x] | Forgot Password Login: [x] Bug3790 Acknowledgement sent to Peter Chubb : New Bug report received and forwarded. drwxr-x--- 7 amavis amavis 4096 2007-10-01 21:14 .. -rwxr-x--- 1 amavis amavis 2621440 2007-11-20 11:24 auto-whitelist -rwxr-x--- 1 amavis amavis 675840 2007-11-20 11:22 bayes_seen -rwxr-x--- 1 amavis amavis 5181440 2007-11-20 12:18

Comment 2 Justin Mason 2005-06-01 17:04:37 UTC moving this bug out of 3.1.0 queue until there's some kind of test case for it... weblink On debian you set those in /etc/default/spamassassin under "OPTIONS". Bug archived. With this workaround all my SA R/W deadlocks have gone away.

Full text and rfc822 format available. Hide Question All replies Helpful answers by pterobyte, pterobyte Oct 25, 2006 10:39 AM in response to Kristoffer Level 6 (11,101 points) Servers Enterprise Oct 25, 2006 10:39 AM in response Stay logged in Sign up now! http://scriptkeeper.net/cannot-open/cannot-open-bayes-databases-lock-failed.html falko, Nov 21, 2007 #5 bschultz Member yes...any ideas what's causing this?

Message #48 received at [email protected] (full text, mbox, reply): From: Greg Kochanski To: Debian Bug Tracking System <[email protected]> Subject: spamassassin: Similar spamming if you run spamd as nobody. I'm working >> on trying to do some performance tuning. See here:http://wiki.apache.org/spamassassin/DbDumpAndLoad-If you do not care about the existing training, just make a backup of the .spamasassin directories and issue "spamtrainer -c" Careful: you will loose the contents of your bayesian

Add "bayes_auto_expire 0" to /etc/spamassassin/local.cf to stop SA from trying (and failing) to expire old tokens. 2.

Date: Wed, 9 Nov 2005 09:22:55 +1100 >>>>> "Duncan" == Duncan Findlay writes: Duncan> Excuse me for being a little dense here, but what's the bug? Comment 10 gdr+apache 2014-11-07 16:18:13 UTC This problem seems to persist in version 3.4.0, to the extent that the service can be stopped entirely and the lock file remains until removed DirectAdmin 2013 JBMC Software Login | Register For Free | Help Search this list this category for: (Advanced) Mailing List Archive: SpamAssassin: users Bayes R/W lock failed Here's the processing trace of a single message along with the R/W lock failures associated with two other messages (from /var/log/mail.log) (unexpurgated log follows at the end): Feb 12 12:02:13 creaky

Sorry for the delay in replying. -- Duncan Findlay [Message part 2 (application/pgp-signature, inline)] Bug marked as not found in version 3.1.7-1. Full text and rfc822 format available. Message #13 received at [email protected] (full text, mbox, reply): From: Duncan Findlay To: [email protected] Subject: Bug? http://scriptkeeper.net/cannot-open/cannot-open-bayes-databases-lock-failed-file-exists.html Please Note: this e-mail address is only for reporting problems with SA Bugzilla.

Apple may provide or recommend responses as a possible solution based on the information provided; every potential issue may involve several factors not detailed in the conversations captured in an electronic bayes: cannot open bayes databases /var/lib/amavis/.spamassassin/bayes_* R/W: lock failed: File existsClick to expand... Privacy Policy Terms of Use Sales and Refunds Legal Site Map Contact Apple store | blogs | forums | twitter | facebook | wiki | downloads | support portal Login Full text and rfc822 format available.

Perhaps Duncan> you shouldn't be relying on a DB file bayes database with such Duncan> heavy load. :-) What are the alternatives? http://spamassassin.apache.org/full/3.2.x/doc/sa-compile.html Related software sa-stats Useful commands sa-update -D sa-compile (to be run after sa-update!) spamassassin -D --lint /usr/local/share/spamassassin/tools/check_whitelist SpamAssassin and userprefs on MySQL Useful when using shared bayesdb and squirrelmail sasql. Bundle steps 2-4 into a crontab job(s). Oct 25, 2006 3:39 AM Helpful (0) Reply options Link to this post by Kristoffer, Kristoffer Oct 25, 2006 11:07 AM in response to pterobyte Level 4 (1,835 points) Oct 25,

at /Library/Perl/5.8.6/Mail/SpamAssassin/BayesStore/DBM.pm line 195.bayes: bayes db version 0 is not able to be used, aborting! Oct 25, 2006 4:11 AM Helpful (0) Reply options Link to this post by Kristoffer, Kristoffer Oct 25, 2006 11:18 AM in response to pterobyte Level 4 (1,835 points) Oct 25, Newer Than: Search this thread only Search this forum only Display results as threads Useful Searches Recent Posts More...