Ok, that's weird

No issues, seems fine now after running with the -D switch.

Thanks to all who replied.

$ sa-learn -D --sync 
debug: SpamAssassin version 3.0.0
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 '/usr/local/sbin', keeping.
debug: PATH included '/usr/local/bin', keeping.
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/X11R6/bin', keeping.
debug: PATH included '/root/bin', which doesn't exist, dropping.
debug: Final PATH set to:
/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/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/share/spamassassin" for default rules dir
debug: config: read file /usr/share/spamassassin/10_misc.cf
debug: config: read file /usr/share/spamassassin/20_anti_ratware.cf
debug: config: read file /usr/share/spamassassin/20_body_tests.cf
debug: config: read file /usr/share/spamassassin/20_compensate.cf
debug: config: read file /usr/share/spamassassin/20_dnsbl_tests.cf
debug: config: read file /usr/share/spamassassin/20_drugs.cf
debug: config: read file /usr/share/spamassassin/20_fake_helo_tests.cf
debug: config: read file /usr/share/spamassassin/20_head_tests.cf
debug: config: read file /usr/share/spamassassin/20_html_tests.cf
debug: config: read file /usr/share/spamassassin/20_meta_tests.cf
debug: config: read file /usr/share/spamassassin/20_phrases.cf
debug: config: read file /usr/share/spamassassin/20_porn.cf
debug: config: read file /usr/share/spamassassin/20_ratware.cf
debug: config: read file /usr/share/spamassassin/20_uri_tests.cf
debug: config: read file /usr/share/spamassassin/23_bayes.cf
debug: config: read file /usr/share/spamassassin/25_body_tests_es.cf
debug: config: read file /usr/share/spamassassin/25_hashcash.cf
debug: config: read file /usr/share/spamassassin/25_spf.cf
debug: config: read file /usr/share/spamassassin/25_uribl.cf
debug: config: read file /usr/share/spamassassin/30_text_de.cf
debug: config: read file /usr/share/spamassassin/30_text_fr.cf
debug: config: read file /usr/share/spamassassin/30_text_nl.cf
debug: config: read file /usr/share/spamassassin/30_text_pl.cf
debug: config: read file /usr/share/spamassassin/50_scores.cf
debug: config: read file /usr/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 "/home/xadmin/.spamassassin/user_prefs" for user prefs file
debug: config: read file /home/xadmin/.spamassassin/user_prefs
debug: plugin: loading Mail::SpamAssassin::Plugin::URIDNSBL from @INC
debug: plugin: registered
Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x847f940)
debug: plugin: loading Mail::SpamAssassin::Plugin::Hashcash from @INC
debug: plugin: registered
Mail::SpamAssassin::Plugin::Hashcash=HASH(0x8481a34)
debug: plugin: loading Mail::SpamAssassin::Plugin::SPF from @INC
debug: plugin: registered Mail::SpamAssassin::Plugin::SPF=HASH(0x84830cc)
debug: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x847f940)
implements 'parse_config'
debug: plugin: Mail::SpamAssassin::Plugin::Hashcash=HASH(0x8481a34)
implements 'parse_config'
debug: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x847f940)
inhibited further callbacks
debug: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x847f940)
inhibited further callbacks
debug: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x847f940)
inhibited further callbacks
debug: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x847f940)
inhibited further callbacks
debug: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x847f940)
inhibited further callbacks
debug: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x847f940)
inhibited further callbacks
debug: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x847f940)
inhibited further callbacks
debug: bayes: 2153 tie-ing to DB file R/O
/home/xadmin/.spamassassin/bayes_toks
debug: bayes: 2153 tie-ing to DB file R/O
/home/xadmin/.spamassassin/bayes_seen
debug: bayes: found bayes db version 3
debug: Score set 2 chosen.
debug: Initialising learner
debug: Syncing Bayes and expiring old tokens...
debug: lock: 2153 created
/home/xadmin/.spamassassin/bayes.lock.rb-mx-1.mtnns.net.2153
debug: lock: 2153 trying to get lock on /home/xadmin/.spamassassin/bayes
with 0 retries
debug: lock: 2153 link to /home/xadmin/.spamassassin/bayes.lock: link ok
debug: bayes: 2153 tie-ing to DB file R/W
/home/xadmin/.spamassassin/bayes_toks
debug: bayes: 2153 tie-ing to DB file R/W
/home/xadmin/.spamassassin/bayes_seen
debug: bayes: found bayes db version 3
debug: refresh: 2153 refresh /home/xadmin/.spamassassin/bayes.lock
synced Bayes databases from journal in 0 seconds: 20 unique entries (20
total entries)
debug: refresh: 2153 refresh /home/xadmin/.spamassassin/bayes.lock
debug: refresh: 2153 refresh /home/xadmin/.spamassassin/bayes.lock
debug: Syncing complete.
debug: bayes: 2153 untie-ing
debug: bayes: 2153 untie-ing db_toks
debug: bayes: 2153 untie-ing db_seen
debug: bayes: files locked, now unlocking lock
debug: unlock: 2153 unlink /home/xadmin/.spamassassin/bayes.lock
$

-----Original Message-----
From: Michael Parker [mailto:[EMAIL PROTECTED] 
Sent: 29 September 2004 07:34
To: Thomas Kinghorn
Cc: users@spamassassin.apache.org
Subject: Re: serious problems after upgrade

On Wed, Sep 29, 2004 at 07:28:34AM +0200, Thomas Kinghorn wrote:
> I did read the UPGRADE file for the sa-learn.
> It has been performed but is still showing the same error:
> 
> $ sa-learn --sync
>   bayes: bayes db version 2 is not able to be used, aborting! at   
>   /usr/lib/perl5/site_perl/5.8.0/Mail/SpamAssassin/BayesStore/DBM.pm
>   line 160.

Take a look at:
http://wiki.apache.org/spamassassin/BayesUpgradeError

See if that helps any.

Michael

Reply via email to