On Thu, 5 Apr 2007, Alexander Klink wrote:

> This would lead to @databases being ( 'log',  'workflow', 'backend', 'log' ) 
> ...
> (see line 70).
Ohh yeah. Sorry for that. I was in a hurry and missed line 70. *ouch* 


> 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).

[EMAIL PROTECTED] openxpki]# rm -f sqlite.db*
[EMAIL PROTECTED] openxpki]# openxpkiadm initdb --force
Database type: SQLite
Database 'log' initialized.
Setting up database 'workflow'
Database 'workflow' initialized.
Setting up database 'backend'
Database 'backend' initialized.
[EMAIL PROTECTED] openxpki]# ls -all sqlite.db*
-rw-r--r-- 1 root root 45056 Apr  5 11:02 sqlite.db
-rw-r--r-- 1 root root 45056 Apr  5 11:02 sqlite.db._backend_
-rw-r--r-- 1 root root     0 Apr  5 11:02 sqlite.db._log_
-rw-r--r-- 1 root root 45056 Apr  5 11:02 sqlite.db._workflow_
[EMAIL PROTECTED] openxpki]# 

Well. Same problem.

But I know why _log_ is not being initialised. Take a look at Line 81:

        if ($db ne 'log') {
            $params->{PURPOSE} = $db;
        }

I'm not sure what the PURPOSE parameter does, but commenting out the if 
check, the log database does indeed get created and is useable.

Maybe you wanna check that part.

regards,
 andreas

-------------------------------------------------------------------------
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