ovdb/groupinfo repair

Mark E. Mallett mem at mv.mv.com
Mon Sep 18 20:44:07 UTC 2006


Hi-

A set of misadventures have resulted in a couple of minor corruptions.
I've been searching/reading until my head hurts, and figured I'd give
up and ask here, for at least this one:

INN-2.4.1 on a FreeBSD 5.x platform, using ovdb with Berkeley DB (3.3.11
I believe).  It's been running quite well for some time, long enough for
me to forget about a lot of details :)

For one group, the ovdb high-water mark has gotten out of whack, but only
in the group summary:

752% ovdb_stat -g alt.support.diet.low-carb
alt.support.diet.low-carb: groupstats: low: 839879, high: 30900285, count: 2665, flag: y

"counting" (which I take to mean querying the individual ovdb records
directly rather than relying on the group summary), gives:

753% ovdb_stat -c alt.support.diet.low-carb
alt.support.diet.low-carb:    counted: low: 839879, high: 842551, count: 2665

And in the active file it's OK:

754% grep low-carb $DB/active
alt.support.diet.low-carb 0000842551 0000839874 y

The group summary number seems to come from the 'groupinfo' file; my
thought was try try to repair that.  But, short of hacking up some C
code to write a new record, how?  (I naively thought that if I move
the groupinfo file out of the way, the ovdb_init program might try
to rebuild it, but nope...)

Thanks,
-mm-   (newly subscribed)


More information about the inn-workers mailing list