-----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
#################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>
<option>
<name>db_name</name>
<value>openca</value>
</option>
<option>
<name>db_host</name>
<value>localhost</value>
</option>
<option>
<name>db_port</name>
<value>3306</value>
</option>
<option>
<name>db_user</name>
<value>root</value>
</option>
<option>
<name>db_passwd</name>
<value>xxxx</value>
</option>
################From DBI.conf
<openca>
<database_config>
<debug>0</debug>
<type>MySQL</type>
<name>openca</name>
<host>localhost</host>
<port>3306</port>
<user>root</user>
<passwd>xxxx</passwd>
<environment>
<vendor>
<type>DB2</type>
<number>4</number>
<option>
<name>CLASSPATH</name>
<value>/home/db2inst1/sqllib/java/sqlj.zip:/home/db2inst1/sqllib/function:/home/db2inst1/sqllib/java/db2java.zip:/home/db2inst1/sqllib/java/runtime.zip</value>
</option>
<option>
<name>DB2INSTANCE</name>
<value>db2inst1</value>
</option>
<option>
<name>DB2DIR</name>
<value>/usr/IBMdb2/V7.1</value>
</option>
<option>
<name>INSTHOME</name>
<value>/home/db2inst1</value>
</option>
</vendor>
<vendor>
<type>Pg</type>
<number>0</number>
</vendor>
<vendor>
<type>mysql</type>
<number>0</number>
</vendor>
<vendor>
<type>Oracle</type>
<number>0</number>
</vendor>
</environment>
</database_config>
</openca>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux)
iD8DBQE/yx8E/hdP1i0svlARApSfAJoCruuAIJJ5htWxsG+dQtbdkf1bpwCgr+DM
Oyb7U5LNmZuHh5RWiUsjcNY=
=HdSP
-----END PGP SIGNATURE-----
-------------------------------------------------------
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