Michael,
        Thanks for the reply. You're right, I neglected to include the
output from sa-learn -D --sync. Here it is:

Script started on Mon Jan 10 16:32:53 2005
email-host# sa-learn -D --sync

---------------SA-LEARN -D OUTPUT BEGIN---------------------------------
debug: SpamAssassin version 3.0.2
debug: Score set 0 chosen.
debug: running in taint mode? yes
debug: Running in taint mode, removing unsafe env vars, and resetting
PATH
debug: PATH included '/sbin', keeping.
debug: PATH included '/bin', keeping.
debug: PATH included '/usr/sbin', keeping.
debug: PATH included '/usr/bin', keeping.
debug: PATH included '/usr/games', keeping.
debug: PATH included '/usr/local/sbin', keeping.
debug: PATH included '/usr/local/bin', keeping.
debug: PATH included '/usr/X11R6/bin', keeping.
debug: PATH included '/root/bin', which doesn't exist, dropping.
debug: Final PATH set to:
/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:
/usr/X11R6/bin
debug: using "/etc/mail/spamassassin/init.pre" for site rules init.pre
debug: config: read file /etc/mail/spamassassin/init.pre
debug: using "/usr/local/share/spamassassin" for default rules dir
debug: config: read file /usr/local/share/spamassassin/10_misc.cf
debug: config: read file
/usr/local/share/spamassassin/20_anti_ratware.cf
debug: config: read file /usr/local/share/spamassassin/20_body_tests.cf
debug: config: read file /usr/local/share/spamassassin/20_compensate.cf
debug: config: read file /usr/local/share/spamassassin/20_dnsbl_tests.cf
debug: config: read file /usr/local/share/spamassassin/20_drugs.cf
debug: config: read file
/usr/local/share/spamassassin/20_fake_helo_tests.cf
debug: config: read file /usr/local/share/spamassassin/20_head_tests.cf
debug: config: read file /usr/local/share/spamassassin/20_html_tests.cf
debug: config: read file /usr/local/share/spamassassin/20_meta_tests.cf
debug: config: read file /usr/local/share/spamassassin/20_phrases.cf
debug: config: read file /usr/local/share/spamassassin/20_porn.cf
debug: config: read file /usr/local/share/spamassassin/20_ratware.cf
debug: config: read file /usr/local/share/spamassassin/20_uri_tests.cf
debug: config: read file /usr/local/share/spamassassin/23_bayes.cf
debug: config: read file
/usr/local/share/spamassassin/25_body_tests_es.cf
debug: config: read file /usr/local/share/spamassassin/25_hashcash.cf
debug: config: read file /usr/local/share/spamassassin/25_spf.cf
debug: config: read file /usr/local/share/spamassassin/25_uribl.cf
debug: config: read file /usr/local/share/spamassassin/30_text_de.cf
debug: config: read file /usr/local/share/spamassassin/30_text_fr.cf
debug: config: read file /usr/local/share/spamassassin/30_text_nl.cf
debug: config: read file /usr/local/share/spamassassin/30_text_pl.cf
debug: config: read file /usr/local/share/spamassassin/50_scores.cf
debug: config: read file /usr/local/share/spamassassin/60_whitelist.cf
debug: using "/etc/mail/spamassassin" for site rules dir
debug: config: read file /etc/mail/spamassassin/local.cf
debug: using "/root/.spamassassin/user_prefs" for user prefs file
debug: config: read file /root/.spamassassin/user_prefs
debug: plugin: loading Mail::SpamAssassin::Plugin::URIDNSBL from @INC
debug: plugin: registered
Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x8c0a82c)
debug: plugin: loading Mail::SpamAssassin::Plugin::Hashcash from @INC
debug: plugin: registered
Mail::SpamAssassin::Plugin::Hashcash=HASH(0x8c21230)
debug: plugin: loading Mail::SpamAssassin::Plugin::SPF from @INC
debug: plugin: registered
Mail::SpamAssassin::Plugin::SPF=HASH(0x8c045b4)
debug: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x8c0a82c)
implements 'parse_config'
debug: plugin: Mail::SpamAssassin::Plugin::Hashcash=HASH(0x8c21230)
implements 'parse_config'
debug: bayes: 655 tie-ing to DB file R/O /root/.spamassassin/bayes_toks
debug: bayes: 655 tie-ing to DB file R/O /root/.spamassassin/bayes_seen
debug: bayes: found bayes db version 2
bayes: bayes db version 2 is not able to be used, aborting! at
/usr/local/lib/perl5/site_perl/5.8.4/Mail/SpamAssassin/BayesStore/DBM.pm
line 160.
debug: Score set 0 chosen.
debug: Initialising learner
debug: Syncing Bayes and expiring old tokens...
debug: lock: 655 created
/root/.spamassassin/bayes.lock.email-host.compcoind.com.655
debug: lock: 655 trying to get lock on /root/.spamassassin/bayes with 0
retries
debug: lock: 655 link to /root/.spamassassin/bayes.lock: link ok
debug: bayes: 655 tie-ing to DB file R/W /root/.spamassassin/bayes_toks
debug: bayes: 655 tie-ing to DB file R/W /root/.spamassassin/bayes_seen
debug: bayes: found bayes db version 2
debug: bayes: detected bayes db format 2, upgrading
debug: bayes: upgrading database format from v2 to v3
debug: refresh: 655 refresh /root/.spamassassin/bayes.lock
debug: Syncing complete.
email-host# exit

exit

Script done on Mon Jan 10 16:33:15 2005
---------------SA-LEARN -D OUTPUT END-----------------------------------


Also, I noticed that it doesn't remove the lock either.



Elmer Steve Forro III (Sunny)
Assistant Manager of Information Systems
Compco Industries
400 West Railroad Street
Columbiana, OH 44511
Phone:   (330) 482-0200 x229
Fax:     (330) 482-6429
Cell:    (330) 240-6611
Email:   [EMAIL PROTECTED]
Web:     http://www.compcoind.com/
 

-----Original Message-----
From: Michael Parker [mailto:[EMAIL PROTECTED] 
Sent: Monday, January 10, 2005 4:30 PM
To: Sunny Forro
Cc: users@spamassassin.apache.org
Subject: Re: bayes question

On Mon, Jan 10, 2005 at 04:22:03PM -0500, Sunny Forro wrote:
> Help!
>       I know this has got to be the number 1 question. But I haven't
> had any luck with it:
> 

Actually, it doesn't happen that often these days.

> I'm getting:
> Bayes: bayes db version 2 is not able to be used, aborting!
> 
> errors. I followed the instructions in UPGRADE, i.e. I shutdown all
> running processes and verified there were no locks. Ran SA-LEARN
> --rebuild. Installed SpamAssassin 3.0.2. Ran SA-LEARN --SYNC and got
the
> bayes db version 2 warning.... read the FAQ found the post on "it's
just
> a warning that'll go away". Ran SA-LEARN --SYNC again, same problem.
> Waited 2 days (about 1500 messages) and still receive same problem. My
> bayes db files (bayes.seen bayes.toks) are having their file dates and
> sizes kept up to date, but I still receive this error.
> 
> I'm running SA 3.0.2 with MailScanner 4.37.7 (although I get the error
> no matter how I run SA, including spamassassin -t), on FreeBSD 4.9p13
> with Sendmail 8.13.2.
> 

http://wiki.apache.org/spamassassin/BayesUpgradeError

Not clear from the above if you read that, but at the end it talked
about sending the -D output.  Without that, there isn't much that can
be done.

Michael

Reply via email to