sks-devel
[Top][All Lists]
Advanced

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

Re: [Sks-devel] problem with Debian squeeze


From: John Clizbe
Subject: Re: [Sks-devel] problem with Debian squeeze
Date: Tue, 07 Dec 2010 16:42:39 -0600
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.16pre) Gecko/20101123 Mnenhy/0.8.3 SeaMonkey/2.0.11pre

Kiss Gabor (Bitman) wrote:
> Hi folks!
> 
> After Debian lenny->squeeze upgrade I got this:
> 
> /etc/cron.daily/sks:
> db4.7_archive: Program version 4.7 doesn't match environment version 4.6
> db4.7_archive: DB_ENV->open: DB_VERSION_MISMATCH: Database environment 
> version mismatch
> run-parts: /etc/cron.daily/sks exited with return code 1
> 
> What to do now?
> I've little experience with Berkeley DB.
> Any hint will be appreciated.
> 
> SKS was upgraded from 1.1.0-4 to 1.1.1+dpkgv3-6.

Based on the docs at the BerkelyDB (now Oracle) site, this is the process I've
used each time I have upgraded bdb versions. The only change from mine is to
Debianize the dir and command names.

cd /var/lib/sks
for db in DB PTree
do
  db4.6_checkpoint -1h $db  # make sure everything is committed to the db
  db4.6_recover     -h $db  # remove the old version environment
  db4.7_checkpoint -1h $db  # This converts the log to the new version
  db4.7_archive    -dh $db  # remove old log files
done

The __db.00[1-5] environment files will be recreated when sks restarts.

-- 
John P. Clizbe                      Inet: John (a) Gingerbear DAWT net
FSF Assoc #995 / FSFE Fellow #1797  hkp://keyserver.gingerbear.net  or
     mailto:address@hidden

Q:"Just how do the residents of Haiku, Hawai'i hold conversations?"
A:"An odd melody / island voices on the winds / surplus of vowels"

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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