Theo Van Dinter <[EMAIL PROTECTED]> said:

> On Fri, Feb 04, 2005 at 11:37:22PM -0000, Kyle Silfer wrote:
> > command:
> > su spamfilter -D -c '/usr/bin/sa-learn --spam ./unham/1.'
> 
> I don't know what -D passed to su will do.

Actually, you get "su: invalid option -- D"

I pasted in the wrong command, as you deduced.

> Hrm.  The obvious thing is that when learning, bayes_seen isn't being updated,
> and for some reason there isn't an error being reported.  My first thought is
> an issue with berkeley db.  If you run db_verify on the bayes_* files, are any
> issues found?

cornelius:/home/spamfilter/.spamassassin # db_verify bayes_seen 
db_verify: Page 108: non-empty page in unused hash bucket 78
db_verify: Page 0: page 159 encountered a second time on free list
db_verify: DB->verify: bayes_seen: DB_VERIFY_BAD: Database verification failed

I guess I have a bad seen database, but after running db_recover like so:

cornelius:/home/spamfilter/.spamassassin # db_recover -v
db_recover: Recovery complete at Fri Feb  4 17:03:43 2005
db_recover: Maximum transaction id 80000000 Recovery checkpoint [0][0]

.. re-running db_verify gives me the same error. Am I doing something wrong?

/k

-- 
Kyle Silfer
Systems Manager
NuCity Publications
505.346.0660 x242


Reply via email to