-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Please help! after 9.02 installation when trying to run openca_start I get the following error: Many thanks! /srv/ca/OpenCA/etc # ./openca_start Content-type: text/html
Content-Type: text/html
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US"><head><title>Administration Error</title>
</head><body bgcolor="#FFFFFF"><CENTER><BR><HR WIDTH=80%><BR></CENTER><OL><OL><H1><FONT COLOR=red>Error 690</FONT></H1><OL> <B>Configuration Error</B>. Cannot initialize OpenCA::DBI class! The database returns errorcode 0. (Success (error 10009: DB_TYPE_UNKNOWN (error 11111: Do not commit if the database or the module itself fails.))).</OL></OL></OL>
</PRE><CENTER><HR WIDTH=80%></CENTER>
<FONT SIZE="+0">
</BODY>
</HTML>
OpenCA: Error Trapped: Cannot initialize OpenCA::DBI class! The database returns errorcode 0. (Success (error 10009: DB_TYPE_UNKNOWN (error 11111: Do not commit if the database or the module itself fails.))) at /usr/lib/perl5/site_perl/5.8.0/OpenCA/UI/HTML.pm line 140, <SOCK> line 58.
Compilation failed in require at /srv/ca/OpenCA/lib/servers/ca/functions/initServer line 203, <SOCK> line 58.
Compilation failed in require at ./openca_start line 48, <SOCK> line 58.
################Config:
./configure --prefix=/srv/ca --enable-scep=yes --with-web-host=xxx - --with-httpd-host=xxx --with-httpd-user=wwwrun --with-httpd-group=nogroup - --with-dist-user=openca --with-dist-group=openca --with-ca-organization=xxx - --with-ca-locality=xxx --with-ca-country=UK - --with-openssl-prefix=/usr/local/ssl --with-hierarchy-level=ca --enable-dbi - --with-db-type=mysql --with-db-name=openca --with-db-host=localhost - --with-db-port=3306 --with-db-user=root --with-db-passwd=xxx - --with-sendmail='/usr/sbin/sendmail -t' --with-service-mail-account=xxx
The DB options will be ignored on 0.9.2.
#################from config.xml
<!-- ====================== -->
<!-- database configuration -->
<!-- ====================== -->
<option>
<name>dbmodule</name>
<!-- you can use DB or DBI -->
<value>DBI</value>
</option>
<option>
<name>db_type</name>
<value>MySQL</value>
</option>
The correct type is mysql because the name of the Perl driver module is mysql and not MySQL. Unix is casesensitive.
################From DBI.conf
<openca>
<database_config>
<debug>0</debug>
<type>MySQL</type>
The error is from config.xml.
Michael -- ------------------------------------------------------------------- Michael Bell Email: [EMAIL PROTECTED] ZE Computer- und Medienservice Tel.: +49 (0)30-2093 2482 (Computing Centre) Fax: +49 (0)30-2093 2704 Humboldt-University of Berlin Unter den Linden 6 10099 Berlin Email (private): [EMAIL PROTECTED] Germany http://www.openca.org
------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Openca-Users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/openca-users
