copying wordlists
David Relson
relson at osagesoftware.com
Wed Nov 24 23:50:55 CET 2004
On Wed, 24 Nov 2004 22:44:16 +0000
Robin Bowes wrote:
> Matthias Andree wrote:
> > Robin Bowes <robin-lists at robinbowes.com> writes:
> >
> >
> >>Ah, that makes things easier. Can I suggest that you don't put the
> >>database directly in the .bogofilter directory but instead use a
> >>sub-directory? That will keep all the database files together and
> >away >from any .bogofilter config files.
> >
> >
> > Could you try the following:
> >
> > add the following: line to ~/.bogofilter/DB_CONFIG:
> > set_data_dir wordlists
> >
> > Then mkdir ~/.bogofilter/wordlists
> > and move your wordlist.db into ~/.bogofilter/wordlists
> >
> > and see if bogofilter still works. If it doesn't, revert the change.
> >
> > Berkeley DB is supposed to search its .db files in whatever you pass
> > to set_data_dir. You can add this more than once; the first one will
> > be used to create new files.
>
> OK, I tried copying the database first:
>
> [root at compact .bogofilter]# db_copy . wordlists
> db_checkpoint: fatal region error detected; run recovery
> db_checkpoint: open: DB_RUNRECOVERY: Fatal error, run database
> recovery cp: writing `wordlists/log.0000000013': No space left on
> device cp: writing `wordlists/log.0000000014': No space left on device
> cp: writing `wordlists/log.0000000015': No space left on device
> cp: writing `wordlists/log.0000000016': No space left on device
> cp: writing `wordlists/log.0000000017': No space left on device
> cp: writing `wordlists/log.0000000018': No space left on device
> cp: writing `wordlists/log.0000000019': No space left on device
> cp: writing `wordlists/log.0000000020': No space left on device
> cp: writing `wordlists/log.0000000021': No space left on device
> cp: writing `wordlists/log.0000000022': No space left on device
> cp: writing `wordlists/log.0000000023': No space left on device
> cp: writing `wordlists/log.0000000024': No space left on device
> cp: writing `wordlists/log.0000000025': No space left on device
> cp: writing `wordlists/log.0000000026': No space left on device
> cp: writing `wordlists/log.0000000027': No space left on device
> cp: writing `wordlists/log.0000000028': No space left on device
> cp: writing `wordlists/log.0000000029': No space left on device
> cp: writing `wordlists/log.0000000030': No space left on device
> cp: writing `wordlists/log.0000000031': No space left on device
> cp: writing `wordlists/log.0000000032': No space left on device
> cp: writing `wordlists/log.0000000033': No space left on device
> cp: writing `wordlists/log.0000000034': No space left on device
> cp: writing `wordlists/log.0000000035': No space left on device
>
> So I ran bogoutil -f and tried again - same error.
>
> Any suggestions? Need more info?
>
> R.
Hi Robin
It sounds like you have a full disk (or partition) :-< You can use the
db_archive utility to find which logfiles are no longer needed and then
use rm to remove them, i.e.
rm -f `db_archive -h wordlists`
HTH,
David
More information about the Bogofilter
mailing list