Home > Cannot Open > Cannot Open Bayes Databases Lock Failed

Cannot Open Bayes Databases Lock Failed

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. Attachments: db-to-text2.pl (5.09 KB) ms at artcom-gmbh Aug17,2004,9:59AM Post #13 of 19 (11472 views) Permalink Re: Bayes database [In reply to] On 2004-08-17 18:28:48 +0200, Andy Spiegl wrote: > You don't have to Links Homepage Amavis and SpamAssassin SpamAssassin and MimeDefang Setting Up SpamAssassin and ClamAV with Sendmail on FreeBSD http://ist.uwaterloo.ca/~dkeenan/talks/spamassassin/config.html http://khopesh.com/Anti-spam#iXhash http://spamassassin.apache.org/full/3.3.x/doc/Mail_SpamAssassin_Conf.html spamass-milter http://wiki.sund.org/?title=Postfix_and_milters Notes 3.2.2 is BROKEN, http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5574 isn't entirely correct, but Perlish for "ERROR: some error" Retrieved from "https://wiki.dhits.nl/index.php?title=SpamAssassin&oldid=5053" Navigation menu Views Page Discussion View source History Personal tools Log in Navigation Main Page Community portal Recent changes Random page Help Search this contact form

The only real difference I see is that after wiping bayes_*, SA didn't start using bayes_journal, which always was used before. With this workaround all my SA R/W deadlocks have gone away. Comment 4 Bart Schaefer 2006-06-28 00:08:23 UTC This still happens with 3.0.6, though more rarely. Klaus Engelmann UFCSPA - Brazil klausengelmann, Mar 21, 2009 #3 falko Super Moderator ISPConfig Developer Did you disable SELinux? http://www.gossamer-threads.com/lists/spamassassin/users/8332

Note that no tokens have expired even though the last expiry ran today and there are over 4 million tokens in the db. 0.000 0 2 0 non-token data: bayes db Look at this output: [[emailprotected] ~]# ps aux | grep -i spam root 12498 0.0 0.0 3908 716 pts/0 S+ 20:00 0:00 grep -i spam There is something that should be How do I remove the database? The above line is causing your problems, and it's fundamentally not needed when using MailScanner.

Yes, have now done this, but the document referenced is cut down too much from the original, and has several problems. falko, Mar 20, 2009 #2 klausengelmann New Member Thanks for your reply falko !!! Use this one instead: http://svn.apache.org/repos/asf/spamassassin/trunk/sql/bayes_mysql.sql I'm also having problems with the AWL instructions from that document. You might be able to use a different locking method (see the docs), but I am unsure if that will help or not.

That's only true when you run spamassassin as root. Only after I manually remove the file does sa-learn recover and proceed. I asked that someone puts it on the website next to the broken(!) db-to-text.pl but no one seems to care. find this Acknowledgement sent to Duncan Findlay : Extra info received and filed, but not forwarded.

If you're suggesting that spamd shouldn't be logging this error message to syslog, you're welcome to have spamd log to another output using the -s or --syslog option to spamd. Does spamassassin then recreate the database files? Ss Mar04 0:59 /usr/bin/perl -w /usr/sbin/sqlgrey -d apache 3780 0.2 0.6 71436 49708 ? Are they happening with the same frequency?

what does the output of sa-learn --force-expire -D look like? >Emails now take nearly 30 seconds to process through spamassassin, see the >maillog below. Because I am running out of resources I am ready to investigate the VMWARE image available. Thanks falko, [[emailprotected] ~]# ps gauwx clamav 2938 0.1 2.2 223024 185464 ? Please type your message and try again.

In case of problems with the functioning of SA Bugzilla, please contact [email protected] weblink If it's normal behaviour, then it shouldn't be reported; if it's abnormal behaviour then there should be a way to fix it. Here's what /var/spool/spamassassin looked like a few minutes ago: -rw------- 1 root system 26 May 11 16:03 bayes.lock -rw------- 1 root system 13899 May 11 16:04 bayes_journal -rw------- 1 root system Board index » All times are UTC - 5 hours [ DST ] Log in or Sign up Howtoforge - Linux Howtos and Tutorials Home Forums > Linux Forums >

handling ~ 5 messages from fetchmail. MailScanner won't inhibit local.cf. Ss Mar22 0:00 MailScanner: starting child

klausengelmann, http://scriptkeeper.net/cannot-open/cannot-open-bayes-databases-r-w-lock-failed.html I can see it generating a lockfile to do an expiry but why would I have had six or seven lockfiles unless they were separate expiry runs (every 5 minutes or

Not a good idea. Full text and rfc822 format available. How do I now create and begin to use the auto-whitelist?

This looks like intended behaviour to me.

It's related to the timestamps on your tokens being corrupt. --------------------------------------------------- This email from dns has been validated by dnsMSS Managed Email Security and is free from all known viruses. FYI: expiry is best effort. Hopefully this will cure the problem, but don't blame me if it breaks stuff please Reply With Quote Quick Navigation E-Mail Top Site Areas Settings Private Messages Subscriptions Who's Online Search Full text and rfc822 format available.

I have no idea why > > this is so. :-( > > using the script is a complex task. 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. And here's a workaround (adapted from the one given at the above website): 1. http://scriptkeeper.net/cannot-open/cannot-open-bayes-databases-lock-failed-file-exists.html I have started using "spamc -L spam" to learn spam, which seems to work, although sometimes it reports that it has already learned a message that I know it has never

If you have further comments please address them to [email protected], and the maintainer will reopen the bug report if appropriate. And Leopard is still far away. Status: REOPENED Alias: None Product: Spamassassin Classification: Unclassified Component: Learner (show other bugs) Version: SVN Trunk (Latest Devel Version) Hardware: PC Linux Importance: P5 major Target Milestone: Future Assignee: SpamAssassin Developer decrease it.

I noticed that when I ran sa-learn, I was creating new Bayes files in /.spamassassin and, since I had commented the 'bayes_path' entry out, I removed the comment and it seemed This has worked fine for years until 3.2.0. I hadn't heard of that before, so have now added it. 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_*

Full text and rfc822 format available. They can only give answers. (Pablo Picasso) gary at primeexalia Dec18,2004,3:00PM Post #16 of 19 (11498 views) Permalink RE: Bayes Database [In reply to] It's in the archives. that atime value is somewhere in January 2025. 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

wrote: >I'm still trying to reduce the size of our bayes database. Why did this >deadlock happen and how can I prevent it in the future?