On Mon, Jan 20, 2003 at 12:45:20PM +0100, Michael Bell wrote:
> From: Michael Bell <[EMAIL PROTECTED]>
> To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
> Subject: Re: [Openca-Users] Error 700 exporting certs from CA to floppy
> Date: Mon, 20 Jan 2003 12:45:20 +0100
> 
> Alexey Chetroi wrote:
> 
> >>>>As soon as I try to export the certs from the CA, "Enroll data to
> >>>>lower level of hierarchy", I get the following message:
> >>>>
> >>>>Error 700
> >>>>General Error. Database failed with errorcode 2162021.
> >>>>OpenCA::DB->getNextItem: Cannot
> >>>>open database (2141013) OpenCA::DB->dbOpen: No status specified..
> >>>>
> >>>>This occurred immediately following the display of "Exporting
> >>>>Mails..." on the web page.
> >>>
> >>>I'm experiencing the same problem on Debian Woody. Could anybody
> >>>give us any hints?
> 
> ....
> 
> >  Yes, you're right. That's why I've modified ca_node.conf and ra_node.conf
> >export/import sesctions and changed /dev/fd0 to /tmp/somefile, but also
> >has this problem. In my test setup I've installed ca and ra/pub components 
> >in different directories on the same machine.
> 
> Could you please compare the attached version of export-import.lib with 
> the one in src/common/lib/functions/export-import.lib?
> 
> I find a bug for exporting mails in 0.9.1 shortly before the release. 
> There is one additional line in the function eximEnrollMails. This line 
> checks the result of a function ($type should exist to run the loop). 
> The fixed version is correctly tagged but perhaps I released an old version.

 Yes, there's a diference:

*** /home/lex/lex/src/openca/export-import.lib  Sun Dec 22 14:08:19 2002
--- /home/lex/export-import.lib Mon Jan 20 15:04:30 2003 this one attached
***************
*** 1990,1995 ****
--- 1990,1996 ----
      {
          foreach my $type (eximGetStates (DATATYPE => "MAIL", MODE => "ENROLL"))
          {
+             next if (not $type);
              if (eximMustBeExported (DATATYPE => uc($type)."_MAIL",
                                      MODE => "ENROLL",
                                      KEY => $cert->getSerial()))

 but after reinstall, I have the same error:
Exporting approved CRR ...

No objects are present.

Exporting the Mails ...

Error 700
General Error. Database failed with errorcode 2162021. OpenCA::DB->getNextItem: Cannot 
open database (2141013) OpenCA::DB->dbOpen: No status specified..


BTW: is there any mail db int OpenCA/var/db? because I don't have any, maybe 
that's the problem


  Best regards,
  Alexey Chetroi

---
Smile... Tomorrow will be worse.   (c) Murphy's law


-------------------------------------------------------
This SF.NET email is sponsored by: FREE  SSL Guide from Thawte
are you planning your Web Server Security? Click here to get a FREE
Thawte SSL guide and find the answers to all your  SSL security issues.
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en
_______________________________________________
Openca-Users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/openca-users

Reply via email to