copying wordlists [was: upgrade  0.93.1]
    David Relson 
    relson at osagesoftware.com
       
    Wed Nov 24 00:46:44 CET 2004
    
    
  
On Tue, 23 Nov 2004 14:46:50 -0500
Tom Allison wrote:
> I rebuilt the database using:
> /usr/bin/bogoutil -d .bogofilter/wordlist.db > /tmp/bogotemp
> /usr/bin/bogoutil -l .bogofilter/wordlist_new.db < /tmp/bogotemp
> 
> cp .bogofilter/wordlist.db .bogofilter/wordlist.db.old
> if [ -s .bogofilter/wordlist_new.db ]; then
>      mv .bogofilter/wordlist_new.db .bogofilter/wordlist.db
> fi
> 
> 
> I'm getting peppered with:
> 
> Lock table is out of available object entries
> bogotune: (c_get): Cannot allocate memory
> 
> 
> help?
Hi Tom,
I bet a buck that you haven't read the RELEASE.NOTES or README.db
files. With the addition of transaction capabilities to 0.93.x there
have been a log of changes.  For one, there's the new idea of a
"database environment" with attendant status files, e.g. __db.*,
lockfile-*, etc and log files.  Simply copying wordlist.db from one
place to another is not a good idea.  Scripts bf_copy and bf_compact are
available on sourceforge.  
I strongly urge you to read the above mentioned files and use the
scripts.
David
    
    
More information about the bogofilter
mailing list