[Openca-Users] Problem starting openca

2005-02-16 Thread Andréa Cavallari



Hi people!
 
Please, helpe me!!
 
I installed the latest Openca snap and whem I will 
start openca I have this message:
 
 
[EMAIL PROTECTED] openca]# 
./openca_startConfiguration error: Cannot initialize OpenCA::DBI class! The 
database returns errorcode 10075. (The database passphrase is missing. There 
must be a database passphrase. (error 1: Do not commit if the database or 
the module itself fails.))
But in my config.xml I put a 
passphrase:
 
 
            
    
dbmodule    
    
DBI    
    
    
db_type    
mysql    
    
    
db_name    
openca    
    
    
db_host    
localhost    
    
    
db_port    
3306    
    
    
db_user    
openca    
    
    
db_passwd    
mudar123    
    
    
db_namespace        
    
ca    

 
I have the follow packages installed:
 
[EMAIL PROTECTED] openca]# rpm -qa | grep 
DBperl-DBD-MySQL-2.1021-3perl-DB_File-1.804-88.9perl-DBI-1.32-9[EMAIL PROTECTED] 
openca]# rpm -qa | grep 
mysqlmysql-3.23.58-2.3mysql-devel-3.23.58-2.3mysql-server-3.23.58-1.9
So, I run config_etc.sh again But the problem 
was not solved.
What can I do?
 
 
Thanks,
 
Andréa 


Re: R: [Openca-Users] Problem starting OpenCA with mysql

2004-12-06 Thread Chris Covell
Guys,
sorry for cross posting this to Devel too, but I have had to do some 
code changes

In order to get the OpenCA server started on this RedHat Enterprise 2.1 
server with Perl 5.6.1 I have had to edit "OpenCA/DBI.pm". I have 
replaced the line:

use POSIX qw(setlocale LC_MESSAGES);
with the lines:
use Locale::Messages qw(LC_MESSAGES)
use POSIX ('setlocale');
setlocale (LC_MESSAGES, '');
I have got this code from 
"http://www.cpan.org/modules/by-module/Crypt/GUIDO/libintl-perl-1.00.readme"; 
 as the locale catagory LC_MESSAGES is not exported bu the POSIX module 
on older Perl versions.

Now, this seems to have fixed my problem, as the openca server now 
starts with openca_start with no error messages.

The only trouble is I now get the error:
"DBD::mysql::st execute failed: You have an error in your SQL syntax 
near 'NAMES'utf-8'' at line 1 at ../OpenCA/DBI.pm line 2587."

Am I fighting a loosing battle here because of the Perl version I am 
using ? Or is this an error people have seen before ?

Chris...
Chris Covell wrote:
OK, so I have piinned in down a bit.
When you use a DBI the fnction initDBI is called, this in turn calls 
OpenCA/DBI.pm which has the line:

use POSIX qw(setlocale LC_MESSAGES);
which in turn calls POSIX.pm and it is the import subroutine in side 
here that fails.

So is some sort of environment variablle not getting set somewhere ?
Chris...
Chris Covell wrote:
Alfonso,
Alfonso Sparano wrote:
Do you have installed DBD::mysql perl module?
Try: perl -MCPAN -e'install DBD::mysql'

yes, I am in a Red hat environment so I installed the module via rpm.
# rpm -q perl-DBD-MySQL
# perl-DBD-MySQL-1.2216-4
I also have the perl-DBI module installed.
It is strange, as I am sure the POSIX.pm is to do with text 
translation, so i don't understand why it gives the error with the 
mysql...

Chris...
---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
Openca-Users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/openca-users


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
Openca-Users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/openca-users


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
Openca-Users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/openca-users


Re: R: [Openca-Users] Problem starting OpenCA with mysql

2004-12-03 Thread Chris Covell
OK, so I have piinned in down a bit.
When you use a DBI the fnction initDBI is called, this in turn calls 
OpenCA/DBI.pm which has the line:

use POSIX qw(setlocale LC_MESSAGES);
which in turn calls POSIX.pm and it is the import subroutine in side 
here that fails.

So is some sort of environment variablle not getting set somewhere ?
Chris...
Chris Covell wrote:
Alfonso,
Alfonso Sparano wrote:
Do you have installed DBD::mysql perl module?
Try: perl -MCPAN -e'install DBD::mysql'

yes, I am in a Red hat environment so I installed the module via rpm.
# rpm -q perl-DBD-MySQL
# perl-DBD-MySQL-1.2216-4
I also have the perl-DBI module installed.
It is strange, as I am sure the POSIX.pm is to do with text translation, 
so i don't understand why it gives the error with the mysql...

Chris...
---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
Openca-Users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/openca-users


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
Openca-Users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/openca-users


Re: R: [Openca-Users] Problem starting OpenCA with mysql

2004-12-03 Thread Chris Covell
Alfonso,
Alfonso Sparano wrote:
Do you have installed DBD::mysql perl module?
Try: perl -MCPAN -e'install DBD::mysql'
yes, I am in a Red hat environment so I installed the module via rpm.
# rpm -q perl-DBD-MySQL
# perl-DBD-MySQL-1.2216-4
I also have the perl-DBI module installed.
It is strange, as I am sure the POSIX.pm is to do with text translation, 
so i don't understand why it gives the error with the mysql...

Chris...
---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
Openca-Users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/openca-users


R: [Openca-Users] Problem starting OpenCA with mysql

2004-12-03 Thread Alfonso Sparano
Do you have installed DBD::mysql perl module?

Try: perl -MCPAN -e'install DBD::mysql'





Ing. Alfonso Sparano
Università degli Studi di Salerno
Centro Elaborazione Dati
Settore Sistemi di Comunicazione
Tel: +39 089 96 6055
E-Mail: [EMAIL PROTECTED]


-Messaggio originale-
Da: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Per conto di Chris Covell
Inviato: venerdì 3 dicembre 2004 14.48
A: Openca Users
Oggetto: [Openca-Users] Problem starting OpenCA with mysql

Guys,

I have a strange problem. I have configured a new openCA PKI (version 
0.9.2.1) on a RedHat Enterprises V2.1 box (with perl 5.6.1). If I use DB 
Files then the openca_start script works fine, but if I use DBI with 
MySQL then the openca_start script seems to work (i.e. it does not 
report an error to the screen), and there is a socket, but I can not 
connect to the socket and I get the following error in 
../openca/var/log/stderror.log:

"LC_MESSAGES" is not exported by the POSIX module at
/usr/lib/perl5/5.6.1/i386-linux/POSIX.pm line 19
Can't continue after import errors at
/usr/lib/perl5/5.6.1/i386-linux/POSIX.pm line 19
BEGIN failed--compilation aborted at
/usr/local/test_pki/modules/perl5/OpenCA/DBI.pm line 81.
Compilation failed in require at
/usr/local/test_pki/openca/lib/functions/initDBI line 3.
BEGIN failed--compilation aborted at
/usr/local/test_pki/openca/lib/functions/initDBI line 3.
Compilation failed in require at
/usr/local/test_pki/openca/lib/functions/initServer line 494.
Compilation failed in require at ./openca_start line 62.

Any ideas ?

Chris...


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
Openca-Users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/openca-users



---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
___
Openca-Users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/openca-users


[Openca-Users] Problem starting OpenCA with mysql

2004-12-03 Thread Chris Covell
Guys,
I have a strange problem. I have configured a new openCA PKI (version 
0.9.2.1) on a RedHat Enterprises V2.1 box (with perl 5.6.1). If I use DB 
Files then the openca_start script works fine, but if I use DBI with 
MySQL then the openca_start script seems to work (i.e. it does not 
report an error to the screen), and there is a socket, but I can not 
connect to the socket and I get the following error in 
../openca/var/log/stderror.log:

"LC_MESSAGES" is not exported by the POSIX module at
/usr/lib/perl5/5.6.1/i386-linux/POSIX.pm line 19
Can't continue after import errors at
/usr/lib/perl5/5.6.1/i386-linux/POSIX.pm line 19
BEGIN failed--compilation aborted at
/usr/local/test_pki/modules/perl5/OpenCA/DBI.pm line 81.
Compilation failed in require at
/usr/local/test_pki/openca/lib/functions/initDBI line 3.
BEGIN failed--compilation aborted at
/usr/local/test_pki/openca/lib/functions/initDBI line 3.
Compilation failed in require at
/usr/local/test_pki/openca/lib/functions/initServer line 494.
Compilation failed in require at ./openca_start line 62.
Any ideas ?
Chris...
---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
Openca-Users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/openca-users


Re: [Openca-Users] problem starting openca

2004-06-16 Thread Oliver Welter
Hi Florent,
I saw that in RC5, the batch system is now separated from the CA, but is
there any evolution on the batch system since the RC4 ?
as the batch system is currently under heavy development there are at 
least some changes too...

most of them are Bugfixes and feature enhancements.
Oliver
--
Diese Nachricht wurde digital unterschrieben
oliwel's public key: http://www.oliwel.de/oliwel.crt
Basiszertifikat: http://www.ldv.ei.tum.de/page72


smime.p7s
Description: S/MIME Cryptographic Signature


Re: Re: RE: Re: [Openca-Users] problem starting openca

2004-06-16 Thread florent . sozet

Hi Michael,

Thanks for your answer.
I installed the RC5 and MySQL works successfully without any error at the
first time.
I made no change on my system config since I installed RC4, so I don't know
from where came the problem, because Til said that MySQL works with RC4.
I saw that in RC5, the batch system is now separated from the CA, but is
there any evolution on the batch system since the RC4 ?

Florent



   

  [EMAIL PROTECTED]

  Envoyé par : Pour :<[EMAIL 
PROTECTED]>  
  [EMAIL PROTECTED]cc :

  ceforge.net  Objet :   Re: RE: Re: 
[Openca-Users] problem starting openca
   

   

  16/06/2004 12:24 

  Veuillez répondre à  

  openca-users 

   

   





Hi Florent,

perhaps you should use the RC5. It has better errormessages than the RC4
especially the DBI module. Additionally you can activate global debugging
in log.xml and the output is in var/log/stderr.log. This is new in RC5 and
was included because of such problems.

Michael
--
Michael Bell
Humboldt-Universitaet zu Berlin




---
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



___
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


Re: RE: Re: [Openca-Users] problem starting openca

2004-06-16 Thread michael . bell
Hi Florent,

perhaps you should use the RC5. It has better errormessages than the RC4
especially the DBI module. Additionally you can activate global debugging
in log.xml and the output is in var/log/stderr.log. This is new in RC5 and
was included because of such problems.

Michael
-- 
Michael Bell
Humboldt-Universitaet zu Berlin




---
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


RE: RE: Re: [Openca-Users] problem starting openca

2004-06-16 Thread Til Obes

> 
> Thanks Til,
> 
> Yes, I think the problem comes from my system config.
> What is necessary to run OpenCA 0.9.2 RC4 with MySQL ?
> I installed MySQL server and MySQL client.
> I use OpenCA on Mandrake 10.0 so RPMs perl-DBI and perl-Mysql 
> are already
> installed.
> Maybe some libraries are used and I haven't got theme.

In the documentation is written, that there can be problems with already
installed perl modules.
There is a configure option where you can define a perl modul directory for
openca.
Example:
--prefix=/usr/local/openca/
--with-module-prefix=/usr/local/openca/perl_module/
Regards til



---
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


Re: RE: Re: [Openca-Users] problem starting openca

2004-06-16 Thread florent . sozet

Thanks Til,

Yes, I think the problem comes from my system config.
What is necessary to run OpenCA 0.9.2 RC4 with MySQL ?
I installed MySQL server and MySQL client.
I use OpenCA on Mandrake 10.0 so RPMs perl-DBI and perl-Mysql are already
installed.
Maybe some libraries are used and I haven't got theme.

Thanks
Florent




   

  "Til Obes"   

  <[EMAIL PROTECTED]>Pour :<[EMAIL PROTECTED]> 
 
  Envoyé par : cc :

  [EMAIL PROTECTED]    Objet :   RE: Re: [Openca-Users] 
problem starting openca
  ceforge.net  

   

   

  15/06/2004 18:40 

  Veuillez répondre à  

  openca-users 

   

   






> but  all the parameters are completed in config.xml and I ran
> configure_etc.sh
> DBI.conf seems OK.
> It must be another problem.

I run 0.9.2 rc4 with mysql. I have no problems.
So the problem is not on openca side, i think.
It must be a failure of your config or system enviroment.

Regards til



---
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



___
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


RE: Re: [Openca-Users] problem starting openca

2004-06-15 Thread Til Obes
 
> but  all the parameters are completed in config.xml and I ran
> configure_etc.sh
> DBI.conf seems OK.
> It must be another problem.

I run 0.9.2 rc4 with mysql. I have no problems.
So the problem is not on openca side, i think.
It must be a failure of your config or system enviroment.

Regards til



---
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


Re: Re: [Openca-Users] problem starting openca

2004-06-15 Thread florent . sozet

Thanks Mickael,

but  all the parameters are completed in config.xml and I ran
configure_etc.sh
DBI.conf seems OK.
It must be another problem.

Florent


   

  [EMAIL PROTECTED]

  Envoyé par : Pour :<[EMAIL 
PROTECTED]>  
  [EMAIL PROTECTED]cc :

  ceforge.net  Objet :   Re: 
[Openca-Users] problem starting openca
   

   

  15/06/2004 17:06 

  Veuillez répondre à  

  openca-users 

   

   





> 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__

One of the following parameters is empty:

1. type (mysql is set so no problem)
2. name (openca is set so no problem)
3. user
4. passphrase

Usually there is an empty passphrase which is not allowed.

Michael
--
Michael Bell
Humboldt-Universitaet zu Berlin




---
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



___
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


Re: [Openca-Users] problem starting openca

2004-06-15 Thread michael . bell
> 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__

One of the following parameters is empty:

1. type (mysql is set so no problem)
2. name (openca is set so no problem)
3. user
4. passphrase

Usually there is an empty passphrase which is not allowed.

Michael
-- 
Michael Bell
Humboldt-Universitaet zu Berlin




---
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


Re: [Openca-Users] problem starting openca

2004-06-15 Thread florent . sozet
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,  level at 1 and I've got this
message :

[EMAIL PROTECTED] etc]# ./openca_start
Content-type: text/html

Debugging is activated!
  defining the class parameters
checking the configuration for enough data
preparing the database (vendor dependent)
  mysql detected
  DB:
dbi:mysql:database=openca;host=localhost;port=3306;mysql_ssl=0
  OpenCA::DBI should now complete
Process Backgrounded
2004/06/15-15:32:38 OpenCA::Server (type Net::Server::Fork) starting!
pid(11813)
OpenCA::DBI automatic commit by destructor DESTROY
OpenCA::DBI->commit
[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  
 >  
 >   
 >   PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
 >   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";;>
 > http://www.w3.org/1999/xhtml";; lang="C" 
 > xml:lang="C">Configuration Error
 >  WIDTH=80%>Error 
 > 690 Configuration Error. Cannot initialize
 > OpenCA::DBI class! The database returns errorcode 0. (Success (error 
 > 10070: __OLD__ERRVAL__)). 
 >  
 > 
 >  
 >   
 >   
 > 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,  line  
 > 88. Compilation failed in require at 
 > /usr/local/openra/openca/lib/servers/ra-node/functions/initServer line   
 > 207,  line 88. 
 > Compilation failed in require at ./openca_start line 62,  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 

Re: [Openca-Users] problem starting openca

2004-05-11 Thread Michael Bell
> 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
>
> 
>   PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
>   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
> http://www.w3.org/1999/xhtml"; lang="C"
> xml:lang="C">Configuration Error
>  WIDTH=80%>Error
> 690 Configuration Error. Cannot initialize
> OpenCA::DBI class! The database returns errorcode 0. (Success (error
> 10070: __OLD__ERRVAL__)).
>
> 
> 
> 
> 
> 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,  line
> 88. Compilation failed in require at
> /usr/local/openra/openca/lib/servers/ra-node/functions/initServer line
> 207,  line 88.
> Compilation failed in require at ./openca_start line 62,  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




---
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver
higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
___
Openca-Users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/openca-users


Re: [Openca-Users] problem starting openca

2004-05-10 Thread dalini
Kevin Mitcham wrote:

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?

have you installed the correct perl-dbi module?
looks like it couldn't be found
greetings
dalini
---
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver
higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
___
Openca-Users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/openca-users


[Openca-Users] problem starting openca

2004-05-10 Thread Kevin Mitcham
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


PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
http://www.w3.org/1999/xhtml"; lang="C" 
xml:lang="C">Configuration Error
Error 
690 Configuration Error. Cannot initialize 
OpenCA::DBI class! The database returns errorcode 0. (Success (error 
10070: __OLD__ERRVAL__)).





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,  line 88.
Compilation failed in require at 
/usr/local/openra/openca/lib/servers/ra-node/functions/initServer line 
207,  line 88.
Compilation failed in require at ./openca_start line 62,  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?

Kevin

---
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver
higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
___
Openca-Users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/openca-users