sks-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Sks-devel] DB_ENV->set_lk_detect: unknown deadlock detection mode s


From: John Clizbe
Subject: Re: [Sks-devel] DB_ENV->set_lk_detect: unknown deadlock detection mode specified
Date: Mon, 25 Jun 2012 02:08:17 -0500
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.20pre) Gecko/20110606 Mnenhy/0.8.5 SeaMonkey/2.0.15pre

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

address@hidden: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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]