Hi,
I'm trying tu use MySQL with openca 0.9.2 RC4 and when I try to start
openca, I've got the same error :
error 10070: __OLD__ERRVAL__
Then I tried to put, in DBI.conf, <debug> level at 1 and I've got this
message :
[EMAIL PROTECTED] etc]# ./openca_start
Content-type: text/html
Debugging is activated!<br>
defining the class parameters<br>
checking the configuration for enough data<br>
preparing the database (vendor dependent)<br>
mysql detected<br>
DB:
dbi:mysql:database=openca;host=localhost;port=3306;mysql_ssl=0<br>
OpenCA::DBI should now complete<br>
Process Backgrounded
2004/06/15-15:32:38 OpenCA::Server (type Net::Server::Fork) starting!
pid(11813)
OpenCA::DBI automatic commit by destructor DESTROY<br>
OpenCA::DBI->commit<br>
[EMAIL PROTECTED] etc]# Binding to UNIX socket file
/usr/local/openca-RC4-ra/OpenCA/var/tmp/openca_socket using SOCK_STREAM
Setting gid to "65534 65534"
Setting uid to "65534"
[EMAIL PROTECTED] etc]#
It seems to start but, in fact, it doesn't work. I can't connect to the RA.
The apache error log is :
[Tue Jun 15 15:50:14 2004] [error] malformed header from script. Bad header
= connecting to database<
br>: /usr/local/openca-RC4-ra/apache/cgi-bin/ra/RAServer
My config.xml seems OK and all the fields are completed :
dbmodule=DBI
db_type=mysql
db_name=openca
db_host=localhost
db_port=3306
db_user=openca
db_passwd=opencapwd.
What could be the problem ?
Thanks
Florent
> Using RC4, I'm having the following problem starting up the server:
> [EMAIL PROTECTED]:/usr/local/openra/openca/etc# ./openca_start
> 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="C"
> xml:lang="C"><head><title>Configuration 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
> 10070: __OLD__ERRVAL__)).</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 10070: __OLD__ERRVAL__)) at
> /usr/local/openra/modules/perl5/OpenCA/UI/HTML.pm line 147, <SOCK> line
> 88. Compilation failed in require at
> /usr/local/openra/openca/lib/servers/ra-node/functions/initServer line
> 207, <SOCK> line 88.
> Compilation failed in require at ./openca_start line 62, <SOCK> line 88.
>
>
> I've checked and re-checked the Database part of the config.xml, and it
> all seems good to me. Any hints from the more experienced parts of the
> world?
10070 means there is a problem with a database parameter (e.g. empty
passphrase). The interesting question for me is, why the errormessage is
malformed. I will try to simulate it to produce a better message.
Michael
___
Ce message est strictement confidentiel. Son int�grit� n'est pas assur�e
sur Internet. Le contenu de ce message ne peut engager la responsabilit� du
groupe Atos Origin. Si vous n'�tes pas destinataire du message, merci d'en
avertir imm�diatement l'exp�diteur et de le d�truire.
Bien que les meilleurs efforts soient faits pour maintenir cette
transmission exempte de tout virus, l'exp�diteur ne donne aucune garantie �
cet �gard et sa responsabilit� ne saurait �tre engag�e pour tout dommage
r�sultant d'un virus transmis.
This e-mail is privileged and may contain confidential information intended
only for the person(s) named above. If you receive this e-mail in error,
please notify the sender immediately by telephone or return e-mail.
Although the sender endeavours to maintain a computer virus free network,
the sender does not warrant that this transmission is virus-free and will
not be liable for any damages resulting from any virus transmitted.
-------------------------------------------------------
This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND
_______________________________________________
Openca-Users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/openca-users