Home > Cannot Open > Cannot Open Bayes Databases Lock Failed

Cannot Open Bayes Databases Lock Failed

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 falko, Mar 21, 2009 #4 klausengelmann New Member Yes, indeed SElinux is disabled. Comment 1 Theo Van Dinter 2005-05-30 15:40:28 UTC are you sure that the lock file isn't valid because spamd is trying to do something with the db? Duncan Findlay (supplier of updated spamassassin package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators this contact form

Message #53 received at [email protected] (full text, mbox, reply): From: Duncan Findlay To: Greg Kochanski , [email protected] Cc: [email protected] Subject: Re: Bug#334829: spamassassin: Similar spamming if you run spamd as SpamAssassin Rules Emporium (SARE) http://khopesh.com/wiki/Anti-spam#Other_SpamAssassin_tools Tuning se2c Compiled rulesets. 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 klausengelmann New Member Hello everybody !!! http://www.gossamer-threads.com/lists/spamassassin/users/8332

I agree that the timestamps on the tokens are >corrupt. Ss 0:01 /usr/bin/spamd -d -c -m5 -L -r /var/run/spamd.pid 28136 ? Duncan> In any case, I'm not sure what fix you propose; please let me Duncan> know.

How do I now create and begin to use the auto-whitelist? wrote: >I'm still trying to reduce the size of our bayes database. A separate update process perhaps, so you don't need to lock the database for writing? -- Dr Peter Chubb http://www.gelato.unsw.edu.au peterc AT gelato.unsw.edu.au The technical we do immediately, the political takes S 20:02 0:00 local -t unix

12630 0.0 0.0 6968 1992 ?

Option 1) Connect to the server (however you normally do this - I tend to use WinSCP) and browse to the folder it mentions. How do I remove the database? wrote: >I have reduced the size in local.cf - bayes_expiry_max_db_size 80000, >however this has no effect because token expiry never takes place and the >database just grows and grows, this is her latest blog 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 _thought_ I had Bayes configured so it's only manually trained by me so locking shouldn't be a problem. During the normal course of >> operation, I have the following messages in the logs: >> >> Oct 25 13:31:36 mail02 amavis[20312]: (20312-01-30) _WARN: bayes: >> cannot open bayes databases /var/spool/amavisd/.spamassassin/bayes_* S 20:03 0:00 smtp -t unix -u
postfix 12632 0.0 0.0 6972 1940 ? falko, Mar 20, 2009 #2 klausengelmann New Member Thanks for your reply falko !!!

I read that by removing all bayes_* files from the /usr/local/share/spamassassin/run would work to reset the database. Restart SA's client chain: /etc/init.d/spamassassin start /etc/init.d/exim4 start .... 5. I have to stop spamassassin, rm bayes* and restart spamassassin. Acknowledgement sent to Duncan Findlay : Extra info received and filed, but not forwarded.

Acknowledgement sent to "Sam Snow" : Extra info received and forwarded to list. http://ecoflashapps.com/cannot-open/cannot-open-bayes-databases-root-spamassassin-bayes-r-o-tie-failed.html bayes: cannot open bayes databases /var/mail/bayes/.spamassassin/bayes_* R/W: tie failed: Inappropriate ioctl for device Means your BDB files are of/from wrong version http: request failed: 500 Can't connect to spamassassin.kluge.net:80 (Bad hostname In this instance I would expect sa-learn to wait until spamd finished, then lock the database and proceed. Tac Anti Spam from Surrey Forum Debian Bug report logs - #334829 Spamd spams my syslog Package: spamassassin; Maintainer for spamassassin is Noah Meyerhans ; Source for spamassassin is src:spamassassin.

Is this the Spamsnake tutorial you're using? S 20:03 0:00 bounce -z -n defer -t unix -u
postfix 12638 0.0 0.0 7336 3216 ? http://spamassassin.apache.org/tests_3_0_x.html testing spamassassin spamd -D netset: illegal network address given with some luck this means you have to check your "trusted_networks" line in local.cf The output of things like _REPORT_ and http://ecoflashapps.com/cannot-open/cannot-open-bayes-databases-r-w-lock-failed.html I have upgraded one more time since then, and still get the same message and cannot use sa-learn.

Delete any lock files and try restarting spamassassin or exim. What are my options? Usage instructions are included in the script.

When spamd processing message with shortcircuit rule and flushing bayes_jornal (when max size reached) - there is no unlock event in debug log.

I thought that MailScanner was responsible to run Spamassassin as part of its rules and other tests, jusk like amavisd-new does. Perhaps > Duncan> you shouldn't be relying on a DB file bayes database with such > Duncan> heavy load. :-) > > What are the alternatives? Autolearn might cause problems, especially when too low scores. S 04:13 0:00 tlsmgr -l -t unix -u

root 22194 0.0 0.0 6744 1772 ?

The file remains in the directory even after all spamd processing has completed. S 19:58 0:00 cleanup -z -t unix -u postfix 12370 0.0 0.0 6844 1816 ? Thank you for reporting the bug, which will now be closed. his comment is here handling ~ 5 messages from fetchmail.

debug: Initialising learner debug: bayes: 14631 tie-ing to DB file R/O /etc/mail/spamassassin/bayes_toks debug: bayes: 14631 tie-ing to DB file R/O /etc/mail/spamassassin/bayes_seen debug: bayes: found bayes db version 2 debug: bayes: Not