Cannot Open Bayes Databases R/w Lock Failed
Acknowledgement sent to Greg Kochanski
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
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
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
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
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
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...