David Benfell wrote:
> Hi John,
> 
> On 06/24/12 23:54, John Clizbe wrote:
>> db_recover -h DB
> 
> It says:
> 
> atlanta# db4.6_recover -h DB
> db4.6_recover: Unacceptable log file DB/log.0000002109: unsupported
> log version 19
> db4.6_recover: Invalid log file: log.0000002109: Invalid argument
> db4.6_recover: PANIC: Invalid argument
> db4.6_recover: DB_ENV->open: DB_RUNRECOVERY: Fatal error, run database
> recovery
> 
> But both the old and new versions are--as nearly as I can tell--linked
> against 4.6.

The log version error should not happen with the same version of BDB.

try checking things with db_stat. If you have several versions of BDB
installed, you may need to try with more than one version to get sensible
output. Environment version is the magic value. That will tell you the current
version of your database

sks@yogi:KDB$ db_stat -h . -e|head
Mon Jun 25 02:04:01 2012        Local time
0x120897        Magic number
0       Panic value
5.3.15  Environment version
9       Btree version
9       Hash version
1       Lock version
19      Log version
4       Queue version
2       Sequence version

_______________________________________________
Sks-devel mailing list
Sks-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/sks-devel

Reply via email to