sks-devel
[Top][All Lists]
Advanced

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

Re: [Sks-devel] db logfile question


From: Jeffrey Johnson
Subject: Re: [Sks-devel] db logfile question
Date: Fri, 12 Feb 2016 17:22:26 -0500



============================================== fixit.sh
#!/bin/sh

top="`pwd`"

cd /srv/sks

echo "KDB --"
cd KDB
sudo db61_recover -ev
sudo db61_checkpoint -1
sudo db61_archive -dv
sudo db61_recover -ev
cd ..

echo "PTree --"
cd PTree
sudo db61_recover -ev
sudo db61_checkpoint -1
sudo db61_archive -dv
sudo db61_recover -ev
cd ..

chown -R sks:sks .

cd "$top"


The above script reminds me of a different (and current) bug in sks-1.1.5+

Importing an initial key dump with “sks_build.sh build” does not
create either a dbenv (the __db* files) or a log for the PTree database.

The simplest fix is to run fixit.sh after doing the initial key dump import.

The better/harder fix is to change the flags when initially creating the PTree database.

hth

73 de Jeff


reply via email to

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