I don't know if this is the same error I had, but some earlier versions of openca had a permission error on the db files. Mainly DBM files not SQL. You might check the file permissions.
thanks!
Robert
-----Original Message-----
From: [EMAIL PROTECTED] on behalf of Kevin
Sent: Wed 8/18/2004 11:23 AM
To: [EMAIL PROTECTED]
Cc:
Subject: [Openca-Users] Error 700 in attempting to initialize database
At the risk of getting yelled at, I have another question... (sorry...)
This time I've read both the cookbook and the relevant portions of the
guide. As usual, I've also searched the list archives, searched through
the entire guide for this particular error, and double-checked the steps
I performed in the cookbook. I'm not finding anything to help me solve
this. That said, however, it's true that I have not read the guide from
cover to cover. If I'm wrong for asking a question here in such
circumstances, someone please feel free to correct me. I promise I
won't take offense.
I'm following the steps exactly in the cookbook:
Series of tabs should be visible. Select General->Initialization
Phase I
Initialize the Certification Authority
Initialize Database
<at this point, clicking on Initialize Database gives Error 700>
initialize-> intialize DB .(reports sucess, but a slurry of error messages
about table not found may appear on the console)
Anyway, when I attempt to initialize the database, I get this error:
Error 700
General Error. The compilation of the command cmdGenDB failed. Can't
call method "prepare" on an undefined value at
/usr/local/openca/modules/perl5/OpenCA/DBI.pm line 2518.
When I look at line 2518 of said file, I see:
2515 ## prepare
2516 $self->debug ("doQuery: prepare statement");
2517 $self->debug ("doQuery: statement nr.: ".(scalar (@
2517 {$self->{STH}}) +1));
2518 $self->{STH}[scalar (@{$self->{STH}})] = $self->{DB
2518 H}->prepare ($query);
2519 if ( (my $h = $self->{STH}[scalar (@{$self->{STH}})
2519 -1]->state) != 0) {
2520 $self->debug ("doQuery: prepare failed");
2521 $self->debug ("doQuery: query: $query");
2522 $self->debug ("doQuery: returned errorcode: $h");
2523 $self->errno ( $OpenCA::DBI::ERROR->{PREPARE_FAIL
2523 ED} );
2524 return undef;
2525 }
Not being very clueful on perl in general, I'm definitely out of my
league trying to interpret perl code.
Can anyone offer suggestions on how to resolve this? I suppose I must
have screwed up something in my config files. Should I post those? If
so, just say so and I will.
Sorry to be such a pain, guys.
Thanks for any help.
-Kevin
-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
Openca-Users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/openca-users
<<winmail.dat>>
