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 01:54:04 -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/24/12 23:08, David Benfell wrote:
>> On 06/24/12 23:01, John Clizbe wrote:
>>> set_lk_detect           DB_LOCK_DEFAULT
> 
>> I don't seem to have a file by the name DB_CONFIG
> 
> I found DB_CONFIG in the sample configuration in the build directory
> and copied it to /etc/sks and linked it into /var/lib/sks/DB. I am
> still getting the same error.

This error is strange because SKS doesn't configure the locking subsystem. The
only locks are what BDB uses internally for its transactions.

Try running

    db_recover -h DB

from /var/lib/sks. That will safely remove the BDB environment
(__db.nnn files)

Then

    db_recover -eh DB

to recreate the environment as specified in DB_CONFIG

-John



reply via email to

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