[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Sks-devel] reposting: new installation - sks build exits shortly
From: |
Pramberger Peter |
Subject: |
Re: [Sks-devel] reposting: new installation - sks build exits shortly |
Date: |
Thu, 11 Mar 2004 09:25:21 +0100 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; de-AT; rv:1.4) Gecko/20030807 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
This isn't covered in the docs currently. Build works differently then
fastbuild. You have to give the keydump files to build, eg.
sks build <my options> dump/*.pgp
sks cleandb
sks pbuild ...
You can also add them now using sks merge, however I would recommend to
delete the database dir and start from scratch. Afterwards you can
delete the dump dir (see FAQ).
Expect the database build to run for about a day.
Peter
Stoyan Angelov schrieb:
> hello all,
>
> i am trying to install sks 1.0.6/BerkeleyDB.4.1 on a Solaris 8 SPARC
> 2/02 64bit box. i have done compilation and installation and here are
> some things that i noticed:
>
> make install does not work under solaris i copied the files manually -
> also there was no file: sks_build.bc.sh even though i ran make all.bc
>
> from Makefile:
> install.bc:
> ~ install sks_build.bc.sh sks.bc sks_add_mail.bc $(PREFIX)/bin)
>
> i downloaded the key dumps and was going to do a sks build (not
> fastbuild). i tried to do it like this:
>
> #!/bin/bash
> # SKS build script.
> # cd to directory with "dump" subdirectory, and run
> # You might want to edit this file to reduce or increase memory usage
> # depending on your system
>
> fail() { echo Command failed unexpectedly. Bailing out; exit -1; }
>
> echo === Running build... ===
> if ! sks build; then fail; fi
> echo === Cleaning key database... ===
> if ! sks cleandb; then fail; fi
> echo === Building ptree database... ===
> if ! sks pbuild -cache 20 -ptree_cache 70; then fail; fi
> echo === Done! ===
>
>
> however when sks build is issued from the sks base dir the command runs
> for 1 second and exits with no error. the log file shows this:
>
> 2004-03-07 00:05:32 Opening log
> 2004-03-07 00:05:32 Opening KeyDB database
>
> looking at the base sks directory the KDB directory has been created and
> ~ these are the files inside:
>
> drwx------ 2 root other 512 Mar 7 00:05 .
> drwxr-xr-x 3 root other 512 Mar 7 00:05 ..
> -rw------- 1 root other 8192 Mar 7 00:05 __db.001
> -rw------- 1 root other 26222592 Mar 7 00:05 __db.002
> -rw------- 1 root other 4096 Mar 7 00:05 key
> -rw------- 1 root other 16384 Mar 7 00:05 keyid
> -rw------- 1 root other 16384 Mar 7 00:05 meta
> -rw------- 1 root other 16384 Mar 7 00:05 subkeyid
> -rw------- 1 root other 16384 Mar 7 00:05 time
> -rw------- 1 root other 16384 Mar 7 00:05 tqueue
> -rw------- 1 root other 16384 Mar 7 00:05 word
>
> runnig sks cleandb gives: Fatal error: exception Not_found
> i do have the dump directory as a subdirectory of sks base and all files
> have the .pgp extension.
>
> running the sks_build.sh unchanged made a successful fastbuild...
> what do you thik is the reason of sks build not importing the dump files ?
>
> thank you!
>
> Stoyan
>
>
> --
> Stoyan Angelov
> filibeto.org solarisUsersGroup, Plovdiv, Bulgaria
> http://www.filibeto.org/sun/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFAUCJ4cKsx5K5ighwRAgAmAKCMoQVOVqB6E9toHqiPKd2h2FqWQwCcCrP6
bTTp9+ofSy6mqMeYEvcbo7g=
=cA7T
-----END PGP SIGNATURE-----