Please note that the BDB system is no longer used in EMAN2.1, and may not even be supported in EMAN2.2. We STRONGLY encourage all users to upgrade to at least 2.1x
Please make sure you have read this first: Warning about BDB use
MOST issues that happen with BDB are related to the cache (generally in /tmp/eman2db-<username>) getting unsynchronized with the actual data due to users doing something 'illegal' with database files, or computers crashing in bad ways. Here is a sequence of things to try with this type of failure:
1. e2bdb.py -c
2. if it still exists, cd /tmp/eman2db-<username> then run db_recover, cd ~, then run e2bdb.py -c again 3. If that does not correct the problem, you may consider emailing sludtke@bcm.edu before taking the following action 4. You can try completely removing the cache directory (rm -rf /tmp/eman2db-<username>)
5. If THAT doesn't fix the problem, you may be seeing messages like this :
6. That type of error indicates that database corruption HAS occurred. If you can identify which database has been corrupted, and you feel somewhat competent with computers, you can adapt the following sequence to try to recover the data:
e2bdb.py -c mv EMAN2DB/project.bdb . db_dump -r project.bdb | db_load EMAN2DB/project.bdb