Friday, May 13, 2005

fyi: straw database recovery

This morning I accidentally double clicked on the straw RSS aggregator icon and two copies raced
to see who could corrupt the app's database first.

straw refused to start with this error: DB_RUNRECOVERY: Fatal error, run
database recovery - - PANIC: Invalid argument
Recovery Error: See README for details on how to recover data.

And the straw README says to do this:

$ db_recover -h $HOME/.straw -c -v
$ db_checkpoint -1 -v

Fair enough, but I don't have those scripts installed db\_recover or db\_checkpoint. It turns out that they are in the libdb2-util package. (apt-get install libdb2-util)

Fortunately the recovery processed work fine.


  1. In Ubuntu you need

    sudo apt-get install db4.6-util
    db4.6_recover -h $HOME/.straw -c -v
    db4.6_checkpoint -1 -v


  2. I would like to say this is a well-informed article as we have seen here. Your way of writing is very impressive and also it is a beneficial article for us. Thanks for sharing an article like this.
    First-Class Recovery Expert In UK