sks-devel
[Top][All Lists]
Advanced

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

Re: [Sks-devel] DisUnitedStates.com down; Re: DB_ENV->set_lk_detect: unk


From: John Clizbe
Subject: Re: [Sks-devel] DisUnitedStates.com down; Re: DB_ENV->set_lk_detect: unknown deadlock detection mode specified
Date: Mon, 25 Jun 2012 03:32:05 -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:
> On 06/25/12 01:15, John Clizbe wrote:
>> db_4.6_checkpoint -1h .
> 
> Sorry, thunderbird's quoting is broken, but:
> 
> atlanta# pwd
> /var/lib/sks/DB
> atlanta# db4.6_recover -h .
> db4.6_recover: unable to join the environment
> db4.6_recover: Unacceptable log file ./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
> atlanta# db_4.6_checkpoint -1h .
> zsh: command not found: db_4.6_checkpoint
> atlanta# db4.6_checkpoint -1h .
> db4.6_checkpoint: Unacceptable log file ./log.0000002109: unsupported
> log version 19
> db4.6_checkpoint: Invalid log file: log.0000002109: Invalid argument
> db4.6_checkpoint: PANIC: Invalid argument
> db4.6_checkpoint: DB_ENV->open: DB_RUNRECOVERY: Fatal error, run
> database recovery

It looks like you have a log from one version and a environment from 4.6
> 
> Oy vey. It's really unhappy. The dump download is ongoing. I'm blowing
> away DB and PTree.
> 
> I'm thinking I might as well use the more recent version of db that
> exists on my system. How do I specify the version in the build?

In Makefile.local

BDBLIB=-L/usr/lib
BDBINCLUDE=-I/usr/include/db52
PREFIX=/usr/local
LIBDB=-ldb-5.2

You'll need to check and verify the include and lib filenames

FWIW, I believe the current debian package for 1.1.3 is using 4.7




reply via email to

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