-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Greg Earle writes:
>Update:
>
>If I run
>
># su courier -c "/usr/perl5/bin/sa-learn --showdots --rebuild"
>
>to rebuild the SA database, the "bayes_journal" file gets rotated/removed(?)
>and I stop getting the "Failed to run BAYES_NN ... " error messages ...
>
>... for awhile.
>
>I thought that had fixed it, and that I had a corrupted database.  But
>shortly thereafter (after a rash of errant TCP Wrappers error messages),
>the "bayes_journal" file was back, and at some point, once again, the
>"Failed to run BAYES_NN SpamAssassin test, skipping" error messages
>started to recur.

Aha -- does SpamAssassin have write permission to the *directory*?
/.spamassassin ?

- --j.

>Currently my directory has:
>
>[/] # ls -lt /.spamassassin
>total 6574
>-rw-------    1 courier  courier    882688 Oct 30 09:53 auto-whitelist.pag
>-rw-------    1 courier  courier      4096 Oct 30 09:53 auto-whitelist.dir
>-rw-------    1 courier  courier     64951 Oct 30 09:53 bayes_journal
>-rw-------    1 courier  courier   2086912 Oct 30 09:53 bayes_seen.pag
>-rw-------    1 courier  courier   8316928 Oct 30 09:53 bayes_toks.pag
>-rw-------    1 courier  courier      4096 Oct 30 09:52 bayes_seen.dir
>-rw-------    1 courier  courier      4096 Oct 30 09:32 bayes_toks.dir
>-rw-r--r--    1 courier  courier      1218 Jul  2 17:46 user_prefs
>
>The "bayes_journal" file is there again, and so far, the errors have not yet
>recurred, after Yet Another "sa-learn --rebuild" run.  But I'm sure
>it's just a matter of time.
>
>I'm really at a loss to understand what makes this error creep in at
>some random point - and surely the error message is bogus?  The database(s)
>is/are obviously writable - so why would it complain "No write permission
>to ndbm file at /usr/perl5/site_perl/5.005/Mail/SpamAssassin/BayesStore.pm
>line 933"?
>
>Thanks for any help.
>
>       - Greg
>
>
>
>
>-------------------------------------------------------
>This SF.net email is sponsored by: SF.net Giveback Program.
>Does SourceForge.net help you be more productive?  Does it
>help you create better code?   SHARE THE LOVE, and help us help
>YOU!  Click Here: http://sourceforge.net/donate/
>_______________________________________________
>Spamassassin-talk mailing list
>[EMAIL PROTECTED]
>https://lists.sourceforge.net/lists/listinfo/spamassassin-talk
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: Exmh CVS

iD8DBQE/oq/ZQTcbUG5Y7woRAijhAJ9letZUI0qWg2sjnk3GpiYgVSATuACgrItv
Xm6IQ9/lLVpsP9nkYwE/4G4=
=Fzj+
-----END PGP SIGNATURE-----



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to