On Mon, 2005-01-31 at 23:04 -0800, James Colannino wrote:
> > bayes: bayes db version 0 is not able to be used, aborting! at
> > /usr/lib/perl5/vendor_perl/5.8.5/Mail/SpamAssassin/BayesStore/DBM.pm
> > line 160.
> Were you ever able to figure this out?  I don't want to update from 2.64 
> to 3 until I know of a fix that will work.  Thanks in advance :)

Could be a few things:
1. perl had just been upgraded from 5.8.5 to 5.8.6 and is now looking
in .../vendor_perl/5.8.6/... If that is the real problem, re-emerging
spamassassin so that its *.pm files are in the 5.8.6 perl tree will
likely fix it. Running the /usr/portage/dev-lang/perl/files/perl-cleaner
script would rebuild spamassassin as well as get rid of all the junk in
the old directories and rebuild all of the other perl modules that had
been installed by portage into an earlier-version path.

2. Simple misconfiguration of spamassassin. there were a lot of changes
that affect how you activate various pieces within spamassassin (as
modules/plugins now). For example:
bayes_store_module Mail::SpamAssassin::BayesStore::SQL
bayes_sql_dsn DBI:mysql:SABayes:localhost
auto_whitelist_factory Mail::SpamAssassin::SQLBasedAddrList
user_awl_dsn DBI:mysql:SAAWL:localhost

3. Might be a permissions problem if its the db file like what old
spamassassin used. My advice though would be to use mysql to store the
bayes data, as well as auto whitelist and user scores. Not only does
that eliminate the possibility of db file permissions, but you will
never again need to waste time with "sa-learn --sync" or worry about
file locking issues either. Not only that, but this at least seems
faster to me anyway.

--
Scott Taylor - <[EMAIL PROTECTED]> 

Fourth Law of Applied Terror:
        The night before the English History mid-term, your Biology
        instructor will assign 200 pages on planaria.

Corollary:
        Every instructor assumes that you have nothing else to do except
        study for that instructor's course.
ve 
    


--
gentoo-user@gentoo.org mailing list

Reply via email to