Hello Michael, thanks for taking the time to answer my query !
>> Configuration Error. Cannot initialize OpenCA::DB class!
>> (/usr/local/openca.0.9.0/openca/var/db)
>Does this directory exist and has it the correct permissions (write
>permissions for the webserver)?
chris:/usr/local/openca.0.9.0/openca/var # ls -l
total 0
drwxr-xr-x 8 nobody nogroup 192 Aug 29 12:40 .
drwxr-xr-x 5 nobody nogroup 120 Aug 29 12:37 ..
drwxr-xr-x 2 nobody nogroup 48 Aug 29 12:40 batch
drwxr-xr-x 8 nobody nogroup 192 Aug 29 12:40 crypto
drwxr-xr-x 2 nobody nogroup 48 Aug 29 12:38 db
drwxr-xr-x 3 nobody nogroup 72 Aug 29 12:40 mail
drwxr-xr-x 7 nobody nogroup 168 Aug 29 12:40 scep
drwxr-xr-x 2 nobody nogroup 48 Aug 29 12:40 tmp
Yes, the directory does exist and I believe these permissions are correct for
the web server.
The web server log is similar to the error message:
Compilation failed in require at /usr/local/httpd/cgi-bin/ca/ca line 163.
Error Trapped: Cannot initialize OpenCA::DB class!
(/usr/local/openca.0.9.0/openca/var/db)<br>
Errorcode: 2111041<br>
Errormessage: OpenCA::DB->new: Cannot initialize database (2121021)
OpenCA::DB->initDB: Cannot open database with datatype VALID_CA_CERTIFICATE,
filename and accessmode (2141021)
OpenCA::DB->dbOpen: Cannot initialize DBMS.. at
/usr/local/openca.0.9.0/modules/perl5/misc-utils.lib line 20.
Compilation failed in require at /usr/local/httpd/cgi-bin/ca/ca line 163.
The misc-utils.lib is seems to be the error catching library, the ca perl
program lines 158 - 164 are:
local $db;
if ( getRequired ('DBmodule') =~ /DBI/i ) {
require "initDBI";
} else {
require "initDB";
}
so, it is checking for the DB perl module (?) which I think I have:
chris:/usr/local/httpd/cgi-bin/ca # find / -name "DB.pm"
/usr/lib/perl5/5.6.1/DB.pm
/usr/local/openca.0.9.0/modules/perl5/OpenCA/DB.pm
Chris...
-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone? Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
_______________________________________________
Openca-Users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/openca-users