Hi Andreas,

On Wed, Apr 04, 2007 at 07:03:00PM +0200, Andreas Thienemann wrote:
> > This is the wrong database. There must be at minimum three databases if 
> > you are using SQLite (because of the poor concurrency support):
> > 
> > - data
> > - logging (audit trail)
> > - workflow
> > 
> > Usually it is enough to copy the db files after the intialization to the 
> > other two names.
? That sounds weird to me, why should that be necessary?

> Please apply the following patch to automatically generate the log 
> database as well:
> 
> [EMAIL PROTECTED] OpenXPKI]$ gendiff openxpki-deployment-0.9.790 .orig
> --- openxpki-deployment-0.9.790/bin/openxpkiadm.in.orig 2007-04-04 
> 19:01:07.000000000 +0200
> +++ openxpki-deployment-0.9.790/bin/openxpkiadm.in      2007-04-04 
> 19:01:24.000000000 +0200
> @@ -72,7 +72,7 @@
>      # SQLite needs special treatment: three databases instead of one must
>      # be initialized
>      if ($type =~ m{ SQLite }xms) {
> -       push @databases, 'workflow', 'backend';
> +       push @databases, 'workflow', 'backend', 'log';
>      }
This would lead to @databases being ( 'log',  'workflow', 'backend', 'log' ) ...
(see line 70). So this patch seems unneccessary and log should be
initialized just fine (am I at a loss why it isn't on your side,
though).

Regards,
    Alex
-- 
Dipl.-Math. Alexander Klink | IT-Security Engineer
        [EMAIL PROTECTED] | working @ urn:oid:1.3.6.1.4.1.11417

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
OpenXPKI-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openxpki-users

Reply via email to