Home > Cannot Open > Cannot Open Bayes Databases File Exists

Cannot Open Bayes Databases File Exists

No, create an account now. Comment 5 Theo Van Dinter 2004-01-25 21:01:16 UTC in 2.6x, it's DB_File only, so this should be moot now. My problem was that I was running sa-learn as "root" while MailScanner runs as "mail". 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. this contact form

newfield_no1, Dec 1, 2010 #3 falko Super Moderator ISPConfig Developer What's the output of Code: ls -la /var/www/web6/.spamassassin/ ? M$ Win's are shit, do not use it ! felicity at apache May6,2008,8:51AM Post #19 of 19 (10990 views) Permalink Re: Bayes database [In reply to] On Tue, May 06, 2008 at 04:16:06PM Comment 5 Bart Schaefer 2006-07-05 07:11:36 UTC I've just had this happen again, with schaefer[651] spamassassin -V SpamAssassin version 3.1.3 running on Perl version 5.8.5 Here's my processlist: schaefer[576] ps ax I > read that by removing all bayes_* files from the > /usr/local/share/spamassassin/run would work to reset the database. > Does spamassassin then recreate the database files? > > Dont do http://forum.directadmin.com/showthread.php?t=21648

The new server also has these folders there: Digest-SHA1-2.13 Digest-SHA-5.48 HTML-Parser-3.68 Net-DNS-0.66 The old server only has this folder: NetAddr-IP-4.030 Isn't that somethin that ISPconfig creates during setup? usually something like /home/spamd/.spamassassin/bayes_* Jim spamassassin.andy at spiegl Aug17,2004,9:28AM Post #12 of 19 (11473 views) Permalink Re: Bayes database [In reply to] You don't have to delete your bayes database! HOWEVER, I keep seeing the modification dates change for my Bayes database files and lockfiles come and go.

Contact Gossamer Threads Web Applications & Managed Hosting Powered by Gossamer Threads Inc. S 0:00 spamd child 32632 pts/1 S 0:01 /usr/bin/perl -T -w /usr/bin/sa-learn --spam --single 32638 pts/1 S+ 0:00 grep spam The sa-learn, 32632, is stuck waiting for a lock file to Usage instructions are included in the script. Aug 17 00:05:38 mail-in-1 spamd[82864]: identified spam (8.8/5.0) for exim:99 in 23.1 seconds, 4567 bytes.

Apple disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. You may want to consider just removing your current DBs, letting them get back up to speed, and switching to 3.0 (there is currently a release candidate, and a final version And Leopard is still far away. navigate to these guys 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

spamd[2657]: auto-whitelist: open of auto-whitelist file failed: auto-whitelist: cannot open auto_whitelist_path /var/www/web50/user/web50_****/.spamassassin/auto-whitelist: No such file or directory The files is there and it is the same user as at the old Free forum by Nabble Edit this page I use Ubuntu 8.04 and Ispconfig 2.2.37. Or did I somehow miss that written in your post... > spamd[2489]: bayes: cannot open bayes databases > /home/spamd/.spamassassin/bayes_* R/W: lock failed: Interrupted system call What's the status of the system?

Comment 4 Theo Van Dinter 2003-10-01 07:40:10 UTC Subject: Re: [SAdev] Cannot open bayes databases /home/spamc/.spamassassin/bayes_* R/O: tie failed On Wed, Oct 01, 2003 at 07:39:43AM -0700, bugzilla-daemon@bugzilla.spamassassin.org wrote: > Proper great post to read Are you using Selinux or something similar? Oct 25, 2006 9:14 AM Helpful (0) Reply options Link to this post Apple Footer This site contains user submitted content, comments and opinions and is for informational purposes only. It's used to lock access to some piece of data so you don't run into consistency problems where two different threads are both trying to update the same data and one

You can also use sa-learn to back it up: # sa-learn --backup > /var/backup/bayes-backup.sa > ...or should i stop SA, whack the files, and restart and retrain? http://ecoflashapps.com/cannot-open/cannot-open-bayes-databases.html 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. Gary ________________________________ From: Clinton Mills [mailto:clinton.mills [at] hitcents] Sent: Saturday, December 18, 2004 12:59 PM To: users [at] spamassassin Subject: Bayes Database I am having a problem with the bayes database. I asked that someone puts it on the THANKS!

Box 1773 Carlisle, PA 17013 717-245-1256 (Voice) 717-245-1690 (FAX) newcomer [at] dickinson mkettler at evi-inc May11,2004,1:09PM Post #2 of 19 (11475 views) Permalink Re: Bayes database [In reply to] At 04:07 PM 5/11/2004, MailScanner won't inhibit local.cf. newfield_no1, Dec 17, 2010 #16 falko Super Moderator ISPConfig Developer ISPConfig 2 comes with its own SpamAssassin (version 3.2.4 in /home/admispconfig/ispconfig/tools/spamassassin). navigate here What are my options?

the lock may hang around for a while, especially if there's an expire going on. Register Help Remember Me? The time now is 06:29 PM.

Unfortunately Any_DBM doesn't do that kind of thing. :( This is why we've switched to DB_File only in 2.60 since there are too many issues with the billion different DBM libs

The same on both the old and new server. United States Copyright © Apple Inc. that atime value is somewhere in January 2025. Are you sure the integrity of it (disks, RAM, etc) are sound?

On another server with simular setup I have: SpamAssassin 3.3.1 (2010-03-16) And it is ISPconfig 2.2.37 on both servers. Home | New | Browse | Search | [?] | Reports | Help | NewAccount | Log In Remember [x] | Forgot Password Login: [x] SA Bugzilla – Bug2521 Cannot open Best, Alex R - elists Reply | Threaded Open this post in threaded view ♦ ♦ | Report Content as Inappropriate ♦ ♦ RE: flat file bayes locking issue and http://ecoflashapps.com/cannot-open/cannot-open-bayes-databases-root-spamassassin-bayes-r-o-tie-failed.html Is there a way to update the files to the same version?

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_* DirectAdmin 2013 JBMC Software Login | Register For Free | Help Search this list this category for: (Advanced) Mailing List Archive: SpamAssassin: users Bayes database Index is bayes_seen necessary ? (i seem to recall it is not and can be deleted) if bayes_seen is large, isnt that the file we can delete and it will not make 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,

wrote: >I'm still trying to reduce the size of our bayes database. By doing it in local.cf you've fundamentally forced SA to only ever be invoked as one user without breaking the whole system. Maybe the different versions of DB_File are really the problem... 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

The file remains in the directory even after all spamd processing has completed.