Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: SpamAssassin: devel

[Bug 6228] sa-learn --backup is broken

 

 

SpamAssassin devel RSS feed   Index | Next | Previous | View Threaded


bugzilla-daemon at bugzilla

Oct 27, 2009, 6:03 PM

Post #1 of 7 (582 views)
Permalink
[Bug 6228] sa-learn --backup is broken

https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6228

--- Comment #1 from Michael Parker <parkerm [at] pobox> 2009-10-27 18:03:49 UTC ---
What does their bayes_store_module config say?

--
Configure bugmail: https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


bugzilla-daemon at bugzilla

Oct 27, 2009, 6:07 PM

Post #2 of 7 (553 views)
Permalink
[Bug 6228] sa-learn --backup is broken [In reply to]

https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6228

--- Comment #2 from Michael Parker <parkerm [at] pobox> 2009-10-27 18:07:38 UTC ---
Better question, do they have:

loadplugin Mail::SpamAssassin::Plugin::Bayes

in one of their .pre files?

--
Configure bugmail: https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


bugzilla-daemon at bugzilla

Oct 27, 2009, 6:12 PM

Post #3 of 7 (578 views)
Permalink
[Bug 6228] sa-learn --backup is broken [In reply to]

https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6228

--- Comment #3 from Warren Togami <wtogami [at] redhat> 2009-10-27 18:12:51 UTC ---
Using default v320.pre:
loadplugin Mail::SpamAssassin::Plugin::Bayes

# file ~/.spamassassin/bayes_toks
/home/warren/.spamassassin/bayes_toks: Berkeley DB (Hash, version 8, native
byte-order)

Same issue on RHEL5 and Fedora 12. sa-learn --ham and --spam work fine, but
not --backup.

--
Configure bugmail: https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


bugzilla-daemon at bugzilla

Oct 27, 2009, 6:33 PM

Post #4 of 7 (545 views)
Permalink
[Bug 6228] sa-learn --backup is broken [In reply to]

https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6228

--- Comment #4 from Michael Parker <parkerm [at] pobox> 2009-10-27 18:33:34 UTC ---
can you run:

sa-learn --debug bayes --backup

and include the output in this bug please.

--
Configure bugmail: https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


bugzilla-daemon at bugzilla

Oct 27, 2009, 6:35 PM

Post #5 of 7 (542 views)
Permalink
[Bug 6228] sa-learn --backup is broken [In reply to]

https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6228

--- Comment #5 from Warren Togami <wtogami [at] redhat> 2009-10-27 18:35:43 UTC ---
# sa-learn --debug bayes --backup
[10176] dbg: bayes: tie-ing to DB file R/O
/home/warren/.spamassassin/bayes_toks
[10176] dbg: bayes: tie-ing to DB file R/O
/home/warren/.spamassassin/bayes_seen
[10176] dbg: bayes: found bayes db version 3
[10176] dbg: bayes: DB journal sync: last sync: 1256692056
Can't call method "backup_database" on an undefined value at /usr/bin/sa-learn
line 295.

--
Configure bugmail: https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


bugzilla-daemon at bugzilla

Oct 27, 2009, 7:02 PM

Post #6 of 7 (544 views)
Permalink
[Bug 6228] sa-learn --backup is broken [In reply to]

https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6228

--- Comment #6 from Michael Parker <parkerm [at] pobox> 2009-10-27 19:02:01 UTC ---
Certainly is perplexing.

Can you look in the /usr/local/lib/perl5 tree and find the
SpamAssassin/BayesStore directory and see if a) the files exists and b) their
permissions look sane.

--
Configure bugmail: https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


bugzilla-daemon at bugzilla

Oct 27, 2009, 7:23 PM

Post #7 of 7 (542 views)
Permalink
[Bug 6228] sa-learn --backup is broken [In reply to]

https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6228

--- Comment #7 from Warren Togami <wtogami [at] redhat> 2009-10-27 19:23:01 UTC ---
Fedora 12:
# ls -ld /usr/lib/perl5/vendor_perl/5.10.0/Mail/SpamAssassin/BayesStore/
drwxr-xr-x. 2 root root 4096 2009-09-24 23:32
/usr/lib/perl5/vendor_perl/5.10.0/Mail/SpamAssassin/BayesStore/
# ls -l /usr/lib/perl5/vendor_perl/5.10.0/Mail/SpamAssassin/BayesStore/
total 224
-r--r--r--. 1 root root 42508 2009-08-31 19:25 BDB.pm
-r--r--r--. 1 root root 59815 2009-08-31 19:25 DBM.pm
-r--r--r--. 1 root root 27341 2009-08-31 19:25 MySQL.pm
-r--r--r--. 1 root root 26789 2009-08-31 19:25 PgSQL.pm
-r--r--r--. 1 root root 1933 2009-08-31 19:25 SDBM.pm
-r--r--r--. 1 root root 59178 2009-08-31 19:25 SQL.pm

RHEL5:
# ls -ld /usr/lib/perl5/vendor_perl/5.8.8/Mail/SpamAssassin/BayesStore/
drwxr-xr-x 2 root root 4096 Sep 25 00:51
/usr/lib/perl5/vendor_perl/5.8.8/Mail/SpamAssassin/BayesStore/
# ls -l /usr/lib/perl5/vendor_perl/5.8.8/Mail/SpamAssassin/BayesStore
total 256
-r--r--r-- 1 root root 42508 Aug 31 19:25 BDB.pm
-r--r--r-- 1 root root 59815 Aug 31 19:25 DBM.pm
-r--r--r-- 1 root root 27341 Aug 31 19:25 MySQL.pm
-r--r--r-- 1 root root 26789 Aug 31 19:25 PgSQL.pm
-r--r--r-- 1 root root 1933 Aug 31 19:25 SDBM.pm
-r--r--r-- 1 root root 59178 Aug 31 19:25 SQL.pm

--
Configure bugmail: https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

SpamAssassin devel RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.