Re: bayes: cannot open bayes databases /home/user/.spamassassin/bayes_* R/W: tie failed: No such file or directory

2009-07-12 Thread Benny Pedersen
On Sun, July 12, 2009 21:04, Admin wrote: > $ sa-learn --no-sync --spam --mbox ~/mail/Spam ls -l ~/mail/Spam ls -l /mail/Spam > bayes: cannot open bayes databases /home/user/.spamassassin/bayes_* R/O: > tie failed: does the dir .spamassassin exists with the same user ? have you set

bayes: cannot open bayes databases /home/user/.spamassassin/bayes_* R/W: tie failed: No such file or directory

2009-07-12 Thread Admin
Hi there, Any clues how I can fix the following error? sa-learn is failing $ sa-learn --no-sync --spam --mbox ~/mail/Spam bayes: cannot open bayes databases /home/user/.spamassassin/bayes_* R/O: tie failed: bayes: cannot open bayes databases /home/user/.spamassassin/bayes_* R/O: tie failed

Re: R/O: tie failed: Permission denied

2008-08-12 Thread Michael Scheidell
Copying thigs across doesn't always preserve permissions. For cp command, you would need the '-p' option. Same for scp or rcp. rsync, would be -a option. Most likely permissions problems. Since the error message says 'Permission denied' Look at permissions on the files AND the directory, and pare

Re: R/O: tie failed: Permission denied

2008-08-12 Thread Hungry Snail
Michael Scheidell wrote: > > > >> From: Hungry Snail <[EMAIL PROTECTED]> >> Date: Tue, 12 Aug 2008 07:21:01 -0700 (PDT) >> To: >> Subject: R/O: tie failed: Permission denied >> >> >> hi Guys, >> >> I have recently moved

Re: R/O: tie failed: Permission denied

2008-08-12 Thread Michael Scheidell
> From: Hungry Snail <[EMAIL PROTECTED]> > Date: Tue, 12 Aug 2008 07:21:01 -0700 (PDT) > To: > Subject: R/O: tie failed: Permission denied > > > hi Guys, > > I have recently moved out mail server to new hardware. > > It is setup exactly the same way

R/O: tie failed: Permission denied

2008-08-12 Thread Hungry Snail
: tie failed: Permission denied Tue Aug 12 15:13:36 2008 [6247] warn: bayes: cannot open bayes databases /etc/mail/spamassassin/spamdb/bayes_* R/O: tie failed: Permission denied The strange thing is, it is marking emails as spam like it should be, and if I sa-learn a message as spam it correctly

Re: tie failed

2007-02-22 Thread Daryl C. W. O'Shea
David B Funk wrote: On Thu, 22 Feb 2007, Daryl C. W. O'Shea wrote: David B Funk wrote: On Thu, 22 Feb 2007, Daryl C. W. O'Shea wrote: Yes. Learning is slow. If two spamd children try to learn at the same time only one will get a lock to write to the database. The child who doesn't get the

Re: tie failed

2007-02-22 Thread Theo Van Dinter
On Thu, Feb 22, 2007 at 03:30:24PM -0500, Daryl C. W. O'Shea wrote: > If he enabled it, sure, it'd help reduce the frequency that this occurs. > There's still only a single journal, though, so it's still possible > that a spamd child process won't get a tie on it during busy periods. The journa

Re: tie failed

2007-02-22 Thread David B Funk
On Thu, 22 Feb 2007, Daryl C. W. O'Shea wrote: > David B Funk wrote: > > On Thu, 22 Feb 2007, Daryl C. W. O'Shea wrote: > > > >> Yes. Learning is slow. If two spamd children try to learn at the same > >> time only one will get a lock to write to the database. The child who > >> doesn't get the

Re: tie failed

2007-02-22 Thread Daryl C. W. O'Shea
David B Funk wrote: On Thu, 22 Feb 2007, Daryl C. W. O'Shea wrote: John Fleming wrote: I also see an occasional message header that includes "autolean=unavailable" - It that what ends up in the messages where the tie fails?? I don't get the intermittent nature of this. Yes. Learning is slo

Re: tie failed

2007-02-22 Thread David B Funk
On Thu, 22 Feb 2007, Daryl C. W. O'Shea wrote: > John Fleming wrote: > > > I also see an occasional message header that includes > > "autolean=unavailable" - It that what ends up in the messages where the > > tie fails?? I don't get the intermittent nature of this. > > Yes. Learning is slow. If

Re: tie failed

2007-02-22 Thread Daryl C. W. O'Shea
John Fleming wrote: I also see an occasional message header that includes "autolean=unavailable" - It that what ends up in the messages where the tie fails?? I don't get the intermittent nature of this. Yes. Learning is slow. If two spamd children try to learn at the same time only one wi

Re: tie failed

2007-02-22 Thread Matt Kettler
David Morton wrote: > Matt Kettler wrote: > > >>> Also, make sure that /var/.spamassassin has world rwx privileges. > >>> > >>> > >> Doesn't this create a potential or real giant type security risk? > > Well, regardless, the current user SA is running as has to be able to > > read and write to

Re: tie failed

2007-02-22 Thread John Fleming
- Original Message - From: "David Morton" <[EMAIL PROTECTED]> To: "Jim Knuth" <[EMAIL PROTECTED]> Cc: "John Fleming" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Thursday, February 22, 2007 2:03 AM Subject: Re: tie failed Could

Re: tie failed

2007-02-22 Thread John Fleming
Feb 21 22:26:10 Luke spamd[5590]: spamd: setuid to elizabeth succeeded Feb 21 22:26:10 Luke spamd[5590]: bayes: cannot open bayes databases /var/.spamassassin/bayes_* R/O: tie failed: Permission denied 1) are you using bayes_path ? 2) have you set bayes_file_mode 0777 in your local.cf? YES

Re: tie failed

2007-02-21 Thread David Morton
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Matt Kettler wrote: >>> Also, make sure that /var/.spamassassin has world rwx privileges. >>> >>> >> Doesn't this create a potential or real giant type security risk? > Well, regardless, the current user SA is running as has to be able to > read

Re: tie failed

2007-02-21 Thread David Morton
is while tailing the mail log. THANKS - John > >> Feb 21 22:26:10 Luke spamd[5590]: spamd: setuid to elizabeth succeeded >> Feb 21 22:26:10 Luke spamd[5590]: bayes: cannot open bayes databases >> /var/.spamassassin/bayes_* R/O: tie failed: Permission denied That path looks

Re: tie failed

2007-02-21 Thread Matt Kettler
R Lists06 wrote: >> 1) are you using bayes_path ? >> 2) have you set bayes_file_mode 0777 in your local.cf? >> >> If you use bayes_path in a multi-user environment, you *MUST* set >> bayes_file_mode 0777 in local.cf. >> >> Also, make sure that /var/.spamassassin has world rwx privileges. >> >>

RE: tie failed

2007-02-21 Thread R Lists06
> > > 1) are you using bayes_path ? > 2) have you set bayes_file_mode 0777 in your local.cf? > > If you use bayes_path in a multi-user environment, you *MUST* set > bayes_file_mode 0777 in local.cf. > > Also, make sure that /var/.spamassassin has world rwx privileges. > Doesn't this create a p

Re: tie failed

2007-02-21 Thread Matt Kettler
ucceeded > Feb 21 22:26:10 Luke spamd[5590]: bayes: cannot open bayes databases > /var/.spamassassin/bayes_* R/O: tie failed: Permission denied > 1) are you using bayes_path ? 2) have you set bayes_file_mode 0777 in your local.cf? If you use bayes_path in a multi-user environment, you *MUST

Re: tie failed

2007-02-21 Thread Jim Knuth
spamd: setuid to elizabeth succeeded > Feb 21 22:26:10 Luke spamd[5590]: bayes: cannot open bayes databases > /var/.spamassassin/bayes_* R/O: tie failed: Permission denied > Feb 21 22:26:10 Luke spamd[5590]: spamd: processing message > <[EMAIL PROTECTED]> for elizabeth:1006 > F

tie failed

2007-02-21 Thread John Fleming
bayes: cannot open bayes databases /var/.spamassassin/bayes_* R/O: tie failed: Permission denied Feb 21 22:26:10 Luke spamd[5590]: spamd: processing message <[EMAIL PROTECTED]> for elizabeth:1006 Feb 21 22:26:10 Luke spamd[5590]: bayes: cannot open bayes databases /var/.spamassassin/bayes

Re: bayes tie failed

2005-05-13 Thread kmd
> > 3.0.3 from cpan, compiled DB_file,... but unfortunately bayes will not > > > function. running SA with the -D option gives: > > > > > > debug: bayes: 7926 tie-ing to DB file R/O > > > /home/kmd/.spamassassin/bayes_toks > > > Cannot open bay

Re: bayes tie failed

2005-05-13 Thread kmd
> function. running SA with the -D option gives: > > > > debug: bayes: 7926 tie-ing to DB file R/O /home/kmd/.spamassassin/bayes_toks > > Cannot open bayes databases /home/kmd/.spamassassin/bayes_* R/O: tie failed: > > debug: bayes: 7926 untie-ing DB file toks > > debug:

Procmail reports "Uninitialized value in DBM.pm" and "bayes_* R/O: tie failed"

2005-05-03 Thread Mun Johl
tore/DBM.pm line 1772. ... --- Delimiter END - Procmail is also complaining as shown below--which may not be surprising given the issue above? -- Delimiter BEGIN Cannot open bayes databases /home/mj/.spamassassin/bayes_

Re: Cannot open bayes databases /var/amavisd/.spamassassin/bayes_* R/O: tie failed: Inappropriate file type or format

2004-10-13 Thread Chris Weiss
ther way -ya? debug: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x3cb7d078) inhibited further callbacks debug: bayes: 7110 tie-ing to DB file R/O /var/amavisd/.spamassassin/bayes_toks Cannot open bayes databases /var/amavisd/.spamassassin/bayes_* R/O: tie failed: Inappropriate file type or forma

Re: Cannot open bayes databases /var/amavisd/.spamassassin/bayes_* R/O: tie failed: Inappropriate file type or format

2004-10-13 Thread Matt Kettler
es /var/amavisd/.spamassassin/bayes_* R/O: tie failed: Inappropriate file type or format debug: bayes: 7110 untie-ing DB file toks debug: Score set 0 chosen. debug: bayes: 7110 tie-ing to DB file R/O /var/amavisd/.spamassassin/bayes_toks Cannot open bayes databases /var/amavisd/.spamassassin/bayes_* R

Re: Cannot open bayes databases /var/amavisd/.spamassassin/bayes_* R/O: tie failed: Inappropriate file type or format

2004-10-13 Thread Chris Weiss
SpamAssassin failed to parse line, skipping: auto_learn 1 debug: config: SpamAssassin failed to parse line, skipping: dcc_add_header 1 debug: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x3cb7d078) inhibited further callbacks debug: bayes: 7110 tie-ing to DB file R/O /var/amavisd/.spamassas

Re: Cannot open bayes databases /var/amavisd/.spamassassin/bayes_* R/O: tie failed: Inappropriate file type or format

2004-10-13 Thread Matt Kettler
At 12:25 AM 10/13/2004 -0700, Chris Weiss wrote: I've tried completely deleting and re-creating the bayes databases (using sa-learn clear followed by sa-learn on my various mailboxes), but am still getting the errors. I also made sure I'd installed DB_file (I'd read somewhere it was needed). Any

Cannot open bayes databases /var/amavisd/.spamassassin/bayes_* R/O: tie failed: Inappropriate file type or format

2004-10-13 Thread Chris Weiss
went well, except now I'm getting the following error: Cannot open bayes databases /var/amavisd/.spamassassin/bayes_* R/O: tie failed: Inappropriate file type or format I've tried completely deleting and re-creating the bayes databases (using sa-learn clear followed by sa-learn on my va

Re: Bayes R/O tie failed with SA 3.0

2004-10-03 Thread Asif Iqbal
On Sat, Oct 02, 2004 at 09:43:31PM, Alex S Moore wrote: > On Sat, 2004-10-02 at 21:40 -0400, Asif Iqbal wrote: > > On Sat, Oct 02, 2004 at 03:10:56PM, Bob Proulx wrote: > > qmailq is the owner of spamd processses and has read/write permission on > > bayes_* files through the spam group > > > > (ro

RE: Bayes R/O tie failed with SA 3.0

2004-10-03 Thread Ray
spamd. Ray Dzek Network Operations Supervisor Specialized Bicycle Components -Original Message- From: Asif Iqbal [mailto:[EMAIL PROTECTED] Sent: Saturday, October 02, 2004 2:02 PM To: [EMAIL PROTECTED] Subject: Bayes R/O tie failed with SA 3.0 Hi All I just upgraded my SA from 2.63

Re: Bayes R/O tie failed with SA 3.0

2004-10-03 Thread Alex S Moore
On Sat, 2004-10-02 at 21:40 -0400, Asif Iqbal wrote: > On Sat, Oct 02, 2004 at 03:10:56PM, Bob Proulx wrote: > qmailq is the owner of spamd processses and has read/write permission on > bayes_* files through the spam group > > (root)@qmail:/etc/mail/spamassassin# ls -al bayes_* > -rw-rw-r-- 1 ro

Re: Bayes R/O tie failed with SA 3.0

2004-10-03 Thread Asif Iqbal
6286c Cannot open bayes databases > > /etc/mail/spamassassin/bayes_* R/O: tie failed: Permission denied > > You probably ran sa-learn as root instead of as the user that normally > runs spamassassin. That changed the ownership of the files to root. > Find them. Change them

Re: Bayes R/O tie failed with SA 3.0

2004-10-02 Thread Alex S Moore
pamassassin/bayes_* R/O: tie failed: Permission denied Whichever user you had owning the bayes_* files before the upgrade has changed. Actually, the `sa-learn --sync` probably changed the permissions. Correct the permissions to what is appropriate for your environment. Alex

Re: Bayes R/O tie failed with SA 3.0

2004-10-02 Thread Bob Proulx
Asif Iqbal wrote: > I just upgraded my SA from 2.63 to 3.0. I did the sa-learn --sync after > the upgrade and the restarted spamd. Now I am seeing this error in the > log > > @4000415f15ec35d6286c Cannot open bayes databases > /etc/mail/spamassassin/bayes_* R/O: tie failed:

Bayes R/O tie failed with SA 3.0

2004-10-02 Thread Asif Iqbal
Hi All I just upgraded my SA from 2.63 to 3.0. I did the sa-learn --sync after the upgrade and the restarted spamd. Now I am seeing this error in the log @4000415f15ec35d6286c Cannot open bayes databases /etc/mail/spamassassin/bayes_* R/O: tie failed: Permission denied