db_checkpoint shows troublesome for bf_copy

Lars Bungum lars.bungum at copyleft.no
Thu Mar 3 10:34:11 CET 2005


Matthias Andree wrote:

>Lars Bungum <lars.bungum at copyleft.no> writes:
>  
>
>>I started to use the synchronization scheme put forward by Dave 
>>(thanks), but I ran into a problem with db_checkpoint.
>>
>>Firstly it was called db_checkpoint-4.2 on my sytem, but this I 
>>resolved.  It did however output errors on both Dave's and Mattias' 
>>versions of the script:
>>
>># ./bf_copy.sh -c bogodistrib bogodistrib2
>>db_checkpoint: open: No such file or directory
>>ls: bogodistrib/__db.*: No such file or directory
>>    
>>
>This can happen if the environment (from bogodistrib) has been removed
>right before running the copy; the error is harmless as we currently
>run recovery on the destination copy; we attempt a checkpoint to reduce
>the number of active log files.
>  
>
OK.  But it seems to me that in your script

# flush mempools
db_checkpoint-4.2 -1h "$SRC" || :

db_checkpoint is run at the very top, and it does also output the same 
error.  So I tried it from the command line and got the same even with 
full path

#db_checkpoint-4.2 -1h /local/bogofilter
db_checkpoint: open: No such file or directory

and this is the source directory that is never done anything with (well, 
except copying). But I don't understand what you're meaning with removal 
of enviroment above there.  How can this happen?

-- 
Mvh.
Lars Bungum                            <lb at cl.no> <OpenPGP: E2C5C0A2>
Copyleft Software AS
Telefon            : +47 4000 3775
Telefaks           : +47 21 93 33 71
Mobiltelefon	   : +47 92 04 61 35
Organisasjonsnummer: 982 116 252

_______________________________________________
Bogofilter mailing list
Bogofilter at bogofilter.org
http://www.bogofilter.org/mailman/listinfo/bogofilter



More information about the Bogofilter mailing list