The password was in config.xml

./configure_etc.sh
...
linux:/usr/local/OpenCA/etc #./openca_start
locale: cannot read character map directory `/usr/share/i18n/charmaps': No
such file or directory
Configuration error: Cannot initialize OpenCA::DBI class! The database
returns errorcode 10075. (The database passphrase is missing. There must be
a database passphrase. (error 11111: Do not commit if the database or the
module itself fails.))

linux:/usr/local/OpenCA/etc/database # more DBI.conf
<openca>
    <database_config>
        <debug>0</debug>
        <type>mysql</type>
        <name>openca</name>
        <host>localhost</host>
        <port>3306</port>
        <user>openca</user>
        <passwd>openca</passwd>
        <namespace></namespace>
.....

I find this in the List from Martin Bartosch (2005-02-24 05:50):

mysql -uopenca -p
 
 you are not connecting to the OpenCA DB. Try this:
 
 $ mysql -u openca openca -p

I check this and this works with the password (both).



rpm -qa | grep DB
perl-DBI-1.47-3
perl-DBD-mysql-2.9004-3

rpm -qa | grep mys
mysql-client-4.1.10a-3
mysql-4.1.10a-3.2
mysql-administrator-1.0.19-3
mysql-shared-4.1.10a-3
perl-DBD-mysql-2.9004-3

rpm -qa | grep perl
perl-5.8.6-5
perl-Parse-RecDescent-1.80-247
perl-Config-Crontab-1.03-49
yast2-perl-bindings-2.11.3-3
perl-Data-ShowTable-3.3-572
perl-XML-Parser-2.34-31
perl-Bootloader-0.2-17
perl-gettext-1.01-579
perl-Digest-SHA1-2.10-3
perl-X500-DN-0.28-120
perl-DBI-1.47-3
perl-DBD-mysql-2.9004-3


OpenSSL 0.9.7e 25 Oct 2004
OS is: SUSE 9.3
openca-0.9.2.4
openssl-devel is: 0.9.7e


I create the database as here described:
http://openca.oliwel.de/docs/howto/OpenCA_092_on_debian_dartmouth.txt
create the DB:

*mysql -uroot -p mysql
<password>
create database openca;
create database openra;
grant all privileges on openca.* to [EMAIL PROTECTED] identified by "openca";
grant all privileges on openra.* to [EMAIL PROTECTED] identified by "openra";

test the DB
* mysql -uopenca -p
use openca
show tables
(should return empty set, as DB is empty)
exit;
* mysql -uopenra -p
use openra
show tables
(should return empty set, as DB is empty)
exit;

Works fine as decribed here ^^^


Hello,

can you help me with other things that I have to check ?

With friendly regards 

Herbert

-- 
Telefonieren Sie schon oder sparen Sie noch?
NEU: GMX Phone_Flat http://www.gmx.net/de/go/telefonie


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Openca-Users mailing list
Openca-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openca-users

Reply via email to