You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by "Christopher W. Richardson" <cw...@nexthop.com> on 2005/02/04 23:10:41 UTC

Issue upgrading to new database in 3.0.2

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

Hi,

Today I'm attempting to upgrade spamassassin from 2.x to 3.0.2,
and I'm experiencing issues surrounding the new database format.
I've read both UPGRADE and
http://wiki.apache.org/spamassassin/BayesUpgradeError, but
apparently to no avail.

Running sa-learn -D --sync _appears_ to do the upgrade:

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: 14788 refresh /home/cwr/.spamassassin/bayes.lock
debug: Syncing complete.

(complete output included at the end of this message)

However, that initial appearance seems to be misleading, as a
subsequent

cwr@achilles#sa-learn --dump magic
bayes: bayes db version 2 is not able to be used, aborting! at /usr/pkg/lib/perl5/site_perl/5.8.6/Mail/SpamAssassin/BayesStore/DBM.pm line 160.
bayes: bayes db version 2 is not able to be used, aborting! at /usr/pkg/lib/perl5/site_perl/5.8.6/Mail/SpamAssassin/BayesStore/DBM.pm line 160.
ERROR: Bayes dump returned an error, please re-run with -D for more information

shows.  I'm hoping I've missed something obvious, but if I have,
it's eluding me.  Any pointers would be highly appreciated.
Please copy me, as I'm not subscribed to the list.

Best regards, and TIA,
Chris


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 '/home/cwr/bin/rvplayer5.0', which doesn't exist, dropping.
debug: PATH included '/home/cwr/working/gated_tools/scripts', keeping.
debug: PATH included '/home/cwr', keeping.
debug: PATH included '/home/cwr/bin', keeping.
debug: PATH included '/home/cwr/scripts', keeping.
debug: PATH included '/home/cwr/working/achilles/working', which doesn't exist, dropping.
debug: PATH included '/usr/pkg/bin', keeping.
debug: PATH included '/usr/X11R6/bin', keeping.
debug: PATH included '/usr/local/bin', keeping.
debug: PATH included '/usr/bin', keeping.
debug: PATH included '/bin', keeping.
debug: PATH included '.', which is not absolute, dropping.
debug: PATH included '/usr/sbin', keeping.
debug: PATH included '/sbin', keeping.
debug: PATH included '/usr/pkg/bin', keeping.
debug: PATH included '/usr/pkg/sbin', keeping.
debug: PATH included '/usr/vice/bin', which doesn't exist, dropping.
debug: PATH included '/usr/local/X11R6/bin', which doesn't exist, dropping.
debug: PATH included '/usr/local/X11R6contrib/bin', which doesn't exist, dropping.
debug: PATH included '/usr/local/afs/bin', which doesn't exist, dropping.
debug: PATH included '/home/cwr/oshome/netbsd-i386/bin', keeping.
debug: PATH included '/home/cwr/oshome/netbsd-i386/man', which doesn't exist, dropping.
debug: PATH included '/home/cwr/oshome/netbsd-i386/lib', which doesn't exist, dropping.
debug: Final PATH set to: /home/cwr/working/gated_tools/scripts:/home/cwr:/home/cwr/bin:/home/cwr/scripts:/usr/pkg/bin:/usr/X11R6/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/pkg/bin:/usr/pkg/sbin:/home/cwr/oshome/netbsd-i386/bin
debug: using "/usr/pkg/etc/spamassassin/init.pre" for site rules init.pre
debug: config: read file /usr/pkg/etc/spamassassin/init.pre
debug: using "/usr/pkg/share/spamassassin" for default rules dir
debug: config: read file /usr/pkg/share/spamassassin/10_misc.cf
debug: config: read file /usr/pkg/share/spamassassin/20_anti_ratware.cf
debug: config: read file /usr/pkg/share/spamassassin/20_body_tests.cf
debug: config: read file /usr/pkg/share/spamassassin/20_compensate.cf
debug: config: read file /usr/pkg/share/spamassassin/20_dnsbl_tests.cf
debug: config: read file /usr/pkg/share/spamassassin/20_drugs.cf
debug: config: read file /usr/pkg/share/spamassassin/20_fake_helo_tests.cf
debug: config: read file /usr/pkg/share/spamassassin/20_head_tests.cf
debug: config: read file /usr/pkg/share/spamassassin/20_html_tests.cf
debug: config: read file /usr/pkg/share/spamassassin/20_meta_tests.cf
debug: config: read file /usr/pkg/share/spamassassin/20_phrases.cf
debug: config: read file /usr/pkg/share/spamassassin/20_porn.cf
debug: config: read file /usr/pkg/share/spamassassin/20_ratware.cf
debug: config: read file /usr/pkg/share/spamassassin/20_uri_tests.cf
debug: config: read file /usr/pkg/share/spamassassin/23_bayes.cf
debug: config: read file /usr/pkg/share/spamassassin/25_body_tests_es.cf
debug: config: read file /usr/pkg/share/spamassassin/25_hashcash.cf
debug: config: read file /usr/pkg/share/spamassassin/25_spf.cf
debug: config: read file /usr/pkg/share/spamassassin/25_uribl.cf
debug: config: read file /usr/pkg/share/spamassassin/30_text_de.cf
debug: config: read file /usr/pkg/share/spamassassin/30_text_fr.cf
debug: config: read file /usr/pkg/share/spamassassin/30_text_nl.cf
debug: config: read file /usr/pkg/share/spamassassin/30_text_pl.cf
debug: config: read file /usr/pkg/share/spamassassin/50_scores.cf
debug: config: read file /usr/pkg/share/spamassassin/60_whitelist.cf
debug: using "/usr/pkg/etc/spamassassin" for site rules dir
debug: config: read file /usr/pkg/etc/spamassassin/local.cf
debug: config: read file /usr/pkg/etc/spamassassin/netbsd_lists.cf
debug: using "/home/cwr/.spamassassin/user_prefs" for user prefs file
debug: config: read file /home/cwr/.spamassassin/user_prefs
debug: plugin: loading Mail::SpamAssassin::Plugin::URIDNSBL from @INC
debug: plugin: registered Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x84319c0)
debug: plugin: loading Mail::SpamAssassin::Plugin::Hashcash from @INC
debug: plugin: registered Mail::SpamAssassin::Plugin::Hashcash=HASH(0x89db3a8)
debug: plugin: loading Mail::SpamAssassin::Plugin::SPF from @INC
debug: plugin: registered Mail::SpamAssassin::Plugin::SPF=HASH(0x89b4edc)
debug: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x84319c0) implements 'parse_config'
debug: plugin: Mail::SpamAssassin::Plugin::Hashcash=HASH(0x89db3a8) implements 'parse_config'
debug: bayes: 14788 tie-ing to DB file R/O /home/cwr/.spamassassin/bayes_toks
debug: bayes: 14788 tie-ing to DB file R/O /home/cwr/.spamassassin/bayes_seen
debug: bayes: found bayes db version 2
bayes: bayes db version 2 is not able to be used, aborting! at /usr/pkg/lib/perl5/site_perl/5.8.6/Mail/SpamAssassin/BayesStore/DBM.pm line 160.
debug: Score set 0 chosen.
debug: Initialising learner
debug: Syncing Bayes and expiring old tokens...
debug: lock: 14788 created /home/cwr/.spamassassin/bayes.lock.achilles.nexthop.com.14788
debug: lock: 14788 trying to get lock on /home/cwr/.spamassassin/bayes with 0 retries
[...]
debug: lock: 14788 trying to get lock on /home/cwr/.spamassassin/bayes with 245 retries
debug: lock: 14788 breaking stale /home/cwr/.spamassassin/bayes.lock: age=1107551618 now=1107552221
debug: lock: 14788 trying to get lock on /home/cwr/.spamassassin/bayes with 246 retries
debug: lock: 14788 link to /home/cwr/.spamassassin/bayes.lock: link ok
debug: bayes: 14788 tie-ing to DB file R/W /home/cwr/.spamassassin/bayes_toks
debug: bayes: 14788 tie-ing to DB file R/W /home/cwr/.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: 14788 refresh /home/cwr/.spamassassin/bayes.lock
debug: Syncing complete.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (NetBSD)
Comment: Processed by Mailcrypt 3.5.8 <http://mailcrypt.sourceforge.net/>

iD8DBQFCA/K9P65RBOOHTzERAoBEAKDJuy5XG5uxMU7cWfHSvDhJJO6a7ACgv3MF
pfRn4bNCySapSgQy6VIpSZQ=
=RtPa
-----END PGP SIGNATURE-----