Hello, Thanks for your reply, I use openca-0.9.1-1. I did the following, but I have same error message and couldn't initial the DataBase: adduser openca mkdir /usr/local/pgsql/data chown openca /usr/local/pgsql/data su - openca /usr/local/pgsql/bin/initdb -D /usr/local/pgsql/data /usr/local/pgsql/bin/postmaster -D /usr/local/pgsql/data >logfile 2>&1 & /usr/local/pgsql/bin/createdb openca /usr/local/pgsql/bin/psql openca and my "DBI.conf" file is ## DBI config file
DEBUG 0 DB_Type "Pg" DB_Name "openca" DB_Host "localhost" DB_Port 5432 DB_User "openca" DB_Passwd "" DB_ENV_DB2_OPTIONS 4 DB_ENV_Pg_OPTIONS 0 DB_ENV_mysql_OPTIONS 0 DB_ENV_Oracle_OPTIONS 0 DB_ENV_DB2_OPTION_1 CLASSPATH DB_ENV_DB2_VALUE_1 "/home/db2inst1/sqllib/java/sqlj.zip:/home/db2inst1/sqllib/function:/home/db2inst1/sqllib/java/db2java.zip:/home/db2inst1/sqllib/java/runtime.zip" DB_ENV_DB2_OPTION_2 DB2INSTANCE DB_ENV_DB2_VALUE_2 "db2inst1" DB_ENV_DB2_OPTION_3 DB2DIR DB_ENV_DB2_VALUE_3 "/usr/IBMdb2/V7.1" DB_ENV_DB2_OPTION_4 INSTHOME DB_ENV_DB2_VALUE_4 "/home/db2inst1" Regards, Mehdi. --- Massimiliano Pala <[EMAIL PROTECTED]> wrote: > Mehdi Honarmand wrote: > > Hello Dear, > > I have some problem with DataBase. I used > > "PostgreSQL", but I couldn't initialize it, I have > > this message: > > "Configuration Error. Cannot initialize > OpenCA::DBI > > class! The database returns errorcode 0. (Success > > (error 10015: MISSING_PRIMARY_DATABASE (error > 11111: > > Do not commit if the database or the module itself > > fails.)))." > > What OpenCA version are you using ? Remember you > have to: > - set the DB driver to Pg > - create the db BEFORE using OpenCA > - configure the other parameters like db user, > passwd, > etc... > > -- > > C'you, > > Massimiliano Pala > > --o------------------------------------------------------------------------- > Dr. Massimiliano Pala [OpenCA Project Manager] > [EMAIL PROTECTED] > > Tel.: +39 (0)59 270 094 > http://www.openca.org > Fax: +39 178 221 8225 > http://openca.sourceforge.net > Mobile: +39 (0)347 7222 365 > > University of Modena and Reggio Emilia > Certification Authority Informations: > > Authority Access Point > http://pki.unimo.it > Authority's Certificate: > http://pki.unimo.it/ca/issuers.html > Certificate Revocation List: > http://pki.unimo.it/crl/cacrl.crl > --o------------------------------------------------------------------------- > > ATTACHMENT part 2 application/x-pkcs7-signature name=smime.p7s __________________________________ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ OpenCA-Devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/openca-devel
