[GE users] Fixing a broken Berkeley database?

skip at pobox.com skip at pobox.com
Tue Oct 14 11:29:36 BST 2008

    Orlando> I'm guessing that there is a corrupt entry in the database - is
    Orlando> there any simple way to repair it?

If you installed Berkeley DB from source (or perhaps installed a dev RPM on
a Linux system) you should have a program called db_recover (or maybe
dbXY_recover where X and Y are the major and minor version numbers).  If
your database is corrupt that will quite possibly fix it.

Longer term the more important question to answer is how it got corrupted in
the first place.  Make sure multi-program access to the database is either
mediated by a single program your clients communicate with or that your
programs use some sort of file locking scheme to prevent multiple
simultaneous accesses.

Skip Montanaro - skip at pobox.com - http://www.webfast.com/~skip/

To unsubscribe, e-mail: users-unsubscribe at gridengine.sunsource.net
For additional commands, e-mail: users-help at gridengine.sunsource.net

More information about the gridengine-users mailing list