I'm running OpenCA-SNAP-20030515... I not using MySql.... So, in config.xml I set BD:
<!-- database configuration -->
<!-- ====================== -->
<option>
<name>dbmodule</name>
<!-- you can use DB or DBI -->
<value>DB</value>
</option>
<option>
<name>db_type</name>
<value>Pg</value>
</option>
<option>
<name>db_name</name>
<value>openca</value>
</option>
<option>
<name>db_host</name>
<value>localhost</value>
</option>
<option>
<name>db_port</name>
<value>5432</value>
</option>
<option>
<name>db_user</name>
<value>openca</value>
</option>
<option>
<name>db_passwd</name>
<value></value>
</option>
Is it wrong??
Thanks!
Andr�a
----- Original Message -----
From: "Oliver Welter" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, December 21, 2004 10:10 AM
Subject: Re: [Openca-Users] Cannot initialize OpenCA::DB class
> What OpencA Version are you running ?
> Did you set the proper configuration in the config.xml file ? Esp. the
> Driver setting to "DBI" ?
>
> Oliver
>
> Andr�a Cavallari wrote:
> > Hello!!
> >
> > Please, someone can help me with this error??
> >
> > Error 690
> > Configuration Error. Cannot initialize OpenCA::DB class!
> > (/var/lib/openca/db)
> >
> > Errorcode: 2111041
> >
> > 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...
> >
> > I' ve installed in my server Red Hat Enterprise and :
> >
> > gdbm-devel-1.8.0-20
> > gdbm-1.8.0-20
> > perl-DB_File-1.804-88.7
> > perl-DBD-MySQL-2.1021-3
> > perl-DBI-1.32-5
> >
> > What can I do? What I can verify to be sure that didn't have anything wrong
> > with my installation???
> >
> >
> > Thanks!
> >
> > Andr�a.
>
> --
> Diese Nachricht wurde digital unterschrieben
> oliwel's public key: http://www.oliwel.de/oliwel.crt
> Basiszertifikat: http://www.ldv.ei.tum.de/page72
>
smime.p7s
Description: S/MIME cryptographic signature
